]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/styles/styles.cpp
Fix compilo
[wxWidgets.git] / samples / mobile / styles / styles.cpp
index ddef0c19e6890759602a1e93e3868bae0189591f..7038275a9c2e841fc362e1409622b154b379e6c5 100644 (file)
@@ -5,10 +5,6 @@
 // Copyright:
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "styles.cpp"
-#endif
-
 // For compilers that support precompilation
 #include "wx/wxprec.h"
 
@@ -90,6 +86,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     wxInitAllImageHandlers();
 
     SetVendorName(_T("Free world"));