WxGUIConsole::WxGUIConsole( wxWindow *parent, wxString title, wxSize size)
: wxFrame((wxFrame *)parent, -1, title, wxDefaultPosition, size)
{
-printf( "EED WxGUIConsole Start \n" );
// m_mgr = new wxAuiManager(this);
m_mgr.SetManagedWindow(this);
-printf( "EED WxGUIConsole 0.1 \n" );
mInterpreter = bbtk::Interpreter::New();
-printf( "EED WxGUIConsole 0.2 \n" );
mInterpreter->SetUser(this);
-printf( "EED WxGUIConsole 0.3 \n" );
mInterpreter->SetCommandLine(true);
-printf( "EED WxGUIConsole 0.4 \n" );
mInterpreter->SetThrow(false);
-printf( "EED WxGUIConsole 1\n" );
//==============
// Menu
CreateStatusBar();
SetStatusText( _T("Welcome to bbi !") );
-printf( "EED WxGUIConsole 2\n" );
//==============
// Notebook
mwxPageHelp->SetSizer(helpsizer);
helpsizer->Fit(mwxPageHelp);
helpsizer->SetSizeHints(mwxPageHelp);
- printf( "EED WxGUIConsole 3\n" );
mWxGUIHtmlBrowser = new WxGUIHtmlBrowser(mwxPageHelp,
//EED wxSize(1200,0));
cmdsizer->Add (mWxGUIOutputMessages, 1, wxALL | wxGROW, 5);
cmdsizer->Add (mWxGUICommand, 0, wxALL | wxGROW, 5);
-
-printf( "EED WxGUIConsole 4\n" );
// Set the parent window of all bbtk windows as a child of this
// bbtk::Wx::SetTopWindowParent(this);
Layout();
// Refresh();
// m_mgr.Update();
-printf( "EED WxGUIConsole End\n" );
-
}
//================================================================