X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..69fb24ce03b4dd40e7912936d628bea1719aaaa3:/samples/mobile/styles/styles.cpp diff --git a/samples/mobile/styles/styles.cpp b/samples/mobile/styles/styles.cpp index 45dd662332..7038275a9c 100644 --- a/samples/mobile/styles/styles.cpp +++ b/samples/mobile/styles/styles.cpp @@ -86,6 +86,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + wxInitAllImageHandlers(); SetVendorName(_T("Free world"));