X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxGUIConsole.h;h=e686d7791fa0989b1f2c3cdd73c4f857e3b59cf2;hb=7e61fd339b29c05f7426fe0758955f933e90aed0;hp=6a4b17d007b2a68c649d247267659c7d77408377;hpb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;p=bbtk.git diff --git a/kernel/src/bbtkWxGUIConsole.h b/kernel/src/bbtkWxGUIConsole.h index 6a4b17d..e686d77 100644 --- a/kernel/src/bbtkWxGUIConsole.h +++ b/kernel/src/bbtkWxGUIConsole.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkWxGUIConsole.h,v $ Language: C++ - Date: $Date: 2008/04/18 12:59:16 $ - Version: $Revision: 1.3 $ + Date: $Date: 2008/04/24 12:56:39 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -90,6 +90,7 @@ namespace bbtk void OnMenuCreatePackage(wxCommandEvent& WXUNUSED(event)); void OnMenuCreateBlackBox(wxCommandEvent& WXUNUSED(event)); void OnMenuShowImageGraph(wxCommandEvent& WXUNUSED(event)); + void OnMenuShowHTMLDoc(wxCommandEvent& WXUNUSED(event)); void OnMenuCreateIndex(wxCommandEvent& WXUNUSED(event)); @@ -102,6 +103,11 @@ namespace bbtk // WxGUICommand callbacks void WxGUICommandEnter(const std::string&); + + // Overloaded Show method to handle bbtk::Wx::TopWindow auto-destruction + virtual bool Show(bool show = true); + + private: wxAuiManager m_mgr; Interpreter::Pointer mInterpreter; @@ -118,8 +124,9 @@ namespace bbtk wxButton* mwxButtonRun; public: - - + + // Callback invoked by bbtk top window when something changes + void OnWxSignal(); DECLARE_EVENT_TABLE() };