]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/styles/styles.cpp
Fix compilo
[wxWidgets.git] / samples / mobile / styles / styles.cpp
index 45dd6623322629e401823f2501a0a0915ae68cbe..7038275a9c2e841fc362e1409622b154b379e6c5 100644 (file)
@@ -86,6 +86,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     wxInitAllImageHandlers();
 
     SetVendorName(_T("Free world"));