]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/typetest/typetest.cpp
Create a wrapper file for X11/XKBlib.h header.
[wxWidgets.git] / samples / typetest / typetest.cpp
index c5d6574ea4b403fff77db3250d5b1640285bd113..69e074b65da1361099b0fcbede3d7a8b3374a7d6 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "typetest.h"
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -116,8 +116,6 @@ bool MyApp::OnInit()
     // Show the frame
     frame->Show(true);
 
-    SetTopWindow(frame);
-
     return true;
 }