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);
}