]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/styles/styles.cpp
Fix compilo
[wxWidgets.git] / samples / mobile / styles / styles.cpp
index 944822bc779456a5627db8cc91d51e3fb038d916..7038275a9c2e841fc362e1409622b154b379e6c5 100644 (file)
@@ -5,10 +5,6 @@
 // Copyright:
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "styles.h"
-#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"));