]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIPackageBrowser.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUIPackageBrowser.cxx
index 4f7a84dd6359633668994851dce06f9a858b1a36..9ab9e50f563cb10b471f93d595dcfe73fb549c86 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIPackageBrowser.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/04/18 12:59:16 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/04/24 10:11:28 $
+  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
@@ -423,12 +423,12 @@ namespace bbtk
     
     SetSizer(sizer);
 
-    // Creates and sets the parent window of all bbtk windows
-    wxWindow* top = new wxPanel(this,-1);
-    top->Hide();
-    
-    Wx::SetTopWindow(top);
-   
+
+    // Creates the parent window of all bbtk windows as a child of this
+    Wx::CreateTopWindow(this);
+    //    bbtkAddWxObserver(WxGUIConsole::OnWxSignal);
+
+
     SetAutoLayout(true);
     Layout();
   }