X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxGUIConsole.cxx;fp=kernel%2Fsrc%2FbbtkWxGUIConsole.cxx;h=51abe49e8fbb755dfe3936f6035e874912a6c4ef;hb=536dfc0a21b307fe5fa18afca108a77a5f79a6f6;hp=031ee43a5a1bc55a8d488eff64a6a09c97eed4c0;hpb=ef49b9b19c6e209bf1b2e2b687de3988b183cb0f;p=bbtk.git diff --git a/kernel/src/bbtkWxGUIConsole.cxx b/kernel/src/bbtkWxGUIConsole.cxx index 031ee43..51abe49 100644 --- a/kernel/src/bbtkWxGUIConsole.cxx +++ b/kernel/src/bbtkWxGUIConsole.cxx @@ -84,13 +84,20 @@ namespace bbtk 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 wxInitAllImageHandlers(); @@ -119,6 +126,7 @@ namespace bbtk CreateStatusBar(); SetStatusText( _T("Welcome to bbi !") ); +printf( "EED WxGUIConsole 2\n" ); //============== // Notebook @@ -150,7 +158,8 @@ namespace bbtk mwxPageHelp->SetSizer(helpsizer); helpsizer->Fit(mwxPageHelp); helpsizer->SetSizeHints(mwxPageHelp); - + printf( "EED WxGUIConsole 3\n" ); + mWxGUIHtmlBrowser = new WxGUIHtmlBrowser(mwxPageHelp, //EED wxSize(1200,0)); wxSize(200,0)); @@ -174,6 +183,7 @@ namespace bbtk 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); @@ -197,6 +207,8 @@ namespace bbtk Layout(); // Refresh(); // m_mgr.Update(); +printf( "EED WxGUIConsole End\n" ); + } //================================================================