X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b2b0bee6d822b05fea419e8bf24ab4009cb17ac4:/samples/html/help/help.cpp diff --git a/samples/html/help/help.cpp b/samples/html/help/help.cpp index 9338525c47..062949c8cf 100644 --- a/samples/html/help/help.cpp +++ b/samples/html/help/help.cpp @@ -102,6 +102,9 @@ // `Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + wxInitAllImageHandlers(); #if wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB wxFileSystem::AddHandler(new wxZipFSHandler);