]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/nativdlg/nativdlg.cpp
Use wxAnyButton's DoGetBestSize for toggle buttons
[wxWidgets.git] / samples / nativdlg / nativdlg.cpp
index fa7c72140bd004883dc73fbde5214cd50fd52834..a3bb423cfd0ddd789ba009dbd78927f2ed6998be 100644 (file)
@@ -67,9 +67,6 @@ bool MyApp::OnInit(void)
   frame->panel = new wxWindow(frame, wxID_ANY, wxPoint(0, 0), wxSize(400, 400), 0, wxT("MyMainFrame"));
   frame->Show(true);
 
-  // Return the main frame window
-  SetTopWindow(frame);
-
   return true;
 }