]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/nativdlg/nativdlg.cpp
Rename all WEB_VIEW* style identifiers to WEBVIEW*.
[wxWidgets.git] / samples / nativdlg / nativdlg.cpp
index fa7c72140bd004883dc73fbde5214cd50fd52834..16daebfdd8bd290105a241649918a3b1149cd280 100644 (file)
@@ -24,7 +24,7 @@
 #error Sorry, this sample is only appropriate under Windows.
 #endif
 
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -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;
 }