X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11fdee427ee7c2aae0fda8655b30791f084a45ab..ed37526d668681815114e90b1bd9c2303127e8eb:/samples/mobile/styles/styles.cpp diff --git a/samples/mobile/styles/styles.cpp b/samples/mobile/styles/styles.cpp index 944822bc77..7038275a9c 100644 --- a/samples/mobile/styles/styles.cpp +++ b/samples/mobile/styles/styles.cpp @@ -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"));