]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/animate/anitest.cpp
Remove various bit of redundant code from the wxWebView sample source view dialog.
[wxWidgets.git] / samples / animate / anitest.cpp
index 6d4a4ecb00183074779edf299dbba96d9cd0479a..413558002f2f69156afb57e5ad2ab8ca95c8c46b 100644 (file)
@@ -29,7 +29,7 @@
 #endif
 
 #ifndef __WXMSW__
 #endif
 
 #ifndef __WXMSW__
-    #include "sample.xpm"
+    #include "../sample.xpm"
 #endif
 
 #include "wx/aboutdlg.h"
 #endif
 
 #include "wx/aboutdlg.h"
@@ -102,8 +102,6 @@ bool MyApp::OnInit()
                                  wxDEFAULT_FRAME_STYLE);
     frame->Show(true);
 
                                  wxDEFAULT_FRAME_STYLE);
     frame->Show(true);
 
-    SetTopWindow(frame);
-
     return true;
 }
 
     return true;
 }