]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxConsole.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxConsole.cxx
index 8608437eb0d7c136275eba10050520e36ce881a6..a599ead45e684aa61e4c16d86e76e3a9d25904b4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxConsole.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/03/10 06:24:13 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2008/03/10 10:01:14 $
+  Version:   $Revision: 1.10 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -329,10 +329,14 @@ namespace bbtk
     mRedirect_cerr = 
       new WxTextCtrlStreamRedirector(std::cerr,mwxTextHistory,*wxGREEN,true); 
         
-    // Sets the console as the parent window of all bbtk windows
-    wxFrame* top = new wxFrame(this,-1,_T("invisible"));
+    // Creates and sets the parent window of all bbtk windows
+    wxFrame* top = new wxFrame(this,-1,_T("bbtk"),
+                              wxDefaultPosition,
+                              wxSize(0,0),
+                              wxFRAME_TOOL_WINDOW) ;//wxMINIMIZE_BOX);
     Wx::SetTopWindow(top);
-
+    //    top->Show();
+    
 
     // Layout
 //EED    SetSizer(sizer);