Program: bbtk
Module: $RCSfile: bbtkWxConsole.cxx,v $
Language: C++
- Date: $Date: 2008/03/10 10:01:14 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2008/03/10 12:28:43 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
new WxTextCtrlStreamRedirector(std::cerr,mwxTextHistory,*wxGREEN,true);
// 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);
+ wxWindow* top = new wxPanel(this,-1);//,_T("top"));
+ top->Hide();
+ //new wxFrame(this,-1,_T("bbtk"),
+ // wxDefaultPosition,
+ // wxSize(0,0),
+ // wxFRAME_TOOL_WINDOW) ;//wxMINIMIZE_BOX);
+
Wx::SetTopWindow(top);
+
// top->Show();