]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/svg/svgtest.cpp
Increase version to 2.9.5.
[wxWidgets.git] / samples / svg / svgtest.cpp
index 6f42626b66bf2a713fbc57e41d934b9fd4c11b89..8e792daa71779c420bce068a5e2ac3d715e5af68 100644 (file)
@@ -36,7 +36,7 @@
 #include "bitmaps/help.xpm"
 #include "SVGlogo24.xpm"
 
 #include "bitmaps/help.xpm"
 #include "SVGlogo24.xpm"
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
     #include "../sample.xpm"
 #endif
 
@@ -160,8 +160,6 @@ bool MyApp::OnInit()
 
     frame->Show(true);
 
 
     frame->Show(true);
 
-    SetTopWindow(frame);
-
     return true;
 }
 
     return true;
 }