]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWx.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWx.cxx
index e186c7923a6b8342a768dcc99996ed0164c9324e..346d0fbfe94263dfe720a2a634ce61041691943c 100644 (file)
@@ -11,9 +11,10 @@ namespace bbtk
   static int mgNbWindowsAlive  = 0;
   static int mgNbWindowsShown  = 0;
 
-  void Wx::CreateInvisibleTopWindow()
+  void Wx::CreateInvisibleTopWindow(wxWindow* parent)
   {
-    wxWindow* top = new wxFrame(0,-1,_T("TOP (YOU SHOULD NOT SEE ME !!)"));
+    wxWindow* top = new wxFrame(parent,
+                               -1,_T("TOP (YOU SHOULD NOT SEE ME !!)"));
     top->Hide();
     Wx::SetTopWindow(top);
   }