]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/zip/zip.cpp
wxMOTIF ?: wxcursor:wxcursor overload fix
[wxWidgets.git] / samples / html / zip / zip.cpp
index 3707e4f6f73bac4199bdd5c52313f528c0158711..60ec2e3e9f191c5f5a275f50c526f33b25038971 100644 (file)
@@ -97,6 +97,9 @@ IMPLEMENT_APP(MyApp)
 // `Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
 #if wxUSE_LIBPNG
     wxImage::AddHandler(new wxPNGHandler);
 #endif