From: guigues Date: Fri, 25 Apr 2008 07:33:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: r0.6.1~55 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=caba246bb51787dac9357d9244052dba34c77840;p=bbtk.git *** empty log message *** --- diff --git a/kernel/src/bbtkInterpreter.cxx b/kernel/src/bbtkInterpreter.cxx index ef99c10..d4c6f38 100644 --- a/kernel/src/bbtkInterpreter.cxx +++ b/kernel/src/bbtkInterpreter.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkInterpreter.cxx,v $ $ Language: C++ - Date: $Date: 2008/04/22 09:40:10 $ - Version: $Revision: 1.63 $ + Date: $Date: 2008/04/25 07:33:17 $ + Version: $Revision: 1.64 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -591,28 +591,7 @@ namespace bbtk InterpretLine(line, insideComment); } CATCH_MACRO; - /* - catch (QuitException e) - { - status = Interpreter_QUIT; - } - catch (bbtk::Exception e) - { - std::cerr << "* ERROR : "<0) { std::cout << std::endl; - std::cout << "************************ WARNING ********************" + std::cout << "**************************** WARNING ********************" <SetFocus(); + /* - + mwxNotebook = new wxAuiNotebook(this, + -1, + wxPoint(0, 0), + wxSize(500,500), + wxAUI_NB_TAB_SPLIT + | wxAUI_NB_TAB_MOVE + | wxAUI_NB_TAB_EXTERNAL_MOVE + //| wxAUI_NB_WINDOWLIST_BUTTON + //|wxAUI_NB_SCROLL_BUTTONS + // | wxAUI_NB_CLOSE_BUTTON + //| wxAUI_NB_CLOSE_ON_ACTIVE_TAB + //| wxAUI_NB_CLOSE_ON_ALL_TABS + | wxNO_BORDER); + */ // m_mgr.AddPane(mWxGUITextEditor, wxAuiPaneInfo().Name(wxT("editor_content")) @@ -147,15 +161,17 @@ namespace bbtk .MaximizeButton(true) .Center() .MinSize(wxSize(100,100)) - ); + ); + m_mgr.AddPane(mWxGUIHtmlBrowser, wxAuiPaneInfo().Name(wxT("browser_content")) .Caption(wxT("Help")) .MinimizeButton(true) .MaximizeButton(true) .Right() - .MinSize(wxSize(100,100)) + .MinSize(wxSize(200,100)) ); + m_mgr.AddPane(mWxGUIOutputMessages, wxAuiPaneInfo().Name(wxT("messages_content")) .Caption(wxT("Messages")) @@ -206,6 +222,10 @@ namespace bbtk //================================================================ #define CATCH_MACRO \ + catch (QuitException e) \ + { \ + std::cout << "* quit exception caught"<GetCurrentPage()->GetText(); try { + std::cout << "RUN"<IsChecked()) WxGUICommandEnter("reset"); mInterpreter->InterpretBuffer(buf); + std::cout << "EO RUN"<