]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIConsole.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUIConsole.h
index 6a4b17d007b2a68c649d247267659c7d77408377..0efab2be2e81af619d6b2334a21f2dda7bd3be4d 100644 (file)
@@ -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 10:11:28 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -102,6 +102,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 +123,9 @@ namespace bbtk
     wxButton* mwxButtonRun;
 
   public:
-         
+    
+    // Callback invoked by bbtk top window when something changes
+    void OnWxSignal();
     DECLARE_EVENT_TABLE()
        
   };