X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsrc%2FbbtkWxConsole.cxx;h=31ca73b3ea1b9847dcfee4872cb62478e57a6ed6;hb=141959873bfc3610f427de9a7690458a8b18bd2a;hp=a599ead45e684aa61e4c16d86e76e3a9d25904b4;hpb=b0f948e65655a106e7328784444554f34da7dcac;p=bbtk.git diff --git a/kernel/src/bbtkWxConsole.cxx b/kernel/src/bbtkWxConsole.cxx index a599ead..31ca73b 100644 --- a/kernel/src/bbtkWxConsole.cxx +++ b/kernel/src/bbtkWxConsole.cxx @@ -3,8 +3,8 @@ 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 @@ -330,11 +330,15 @@ namespace bbtk 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();