]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/printing/printing.cpp
Update configuration for OpenVMS
[wxWidgets.git] / samples / html / printing / printing.cpp
index c6390fc4130732939df9a3f351036dd5ff69fcaa..3fea8d49ebcc1952de91bbca7c8283973f2708bb 100644 (file)
@@ -152,11 +152,8 @@ bool MyApp::OnInit()
     MyFrame *frame = new MyFrame(_("Printing test"),
         wxDefaultPosition, wxSize(640, 480));
 
-    // Show it and tell the application that it's our main window
-    // @@@ what does it do exactly, in fact? is it necessary here?
+    // Show it
     frame->Show(true);
-    SetTopWindow(frame);
-
 
     // success: wxApp::OnRun() will be called which will enter the main message
     // loop and the application will run. If we returned false here, the