]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/help/demo.cpp
Handle NULL flags argument in wxOSX wxNotebook::HitTest().
[wxWidgets.git] / samples / help / demo.cpp
index 8cc959c746c0850bd0ac7e426e3ae57ef4b7cabe..d9708b244183e6b2471f7cbc0cb19a6cc9ba997a 100644 (file)
@@ -79,7 +79,7 @@
 // ressources
 // ----------------------------------------------------------------------------
 // the application icon
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -324,7 +324,6 @@ bool MyApp::OnInit()
 #endif // !USE_SIMPLE_HELP_PROVIDER
 
     frame->Show(true);
-    SetTopWindow(frame);
 
     // initialise the help system: this means that we'll use doc.hlp file under
     // Windows and that the HTML docs are in the subdirectory doc for platforms