]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/splash/splash.cpp
Have support for both char* and wchar_t* in wxPGPropArg. Moved wxPGPropArgCls member...
[wxWidgets.git] / samples / splash / splash.cpp
index 1b72d0be686b21b839fa3c28a03d4c4301835b8e..644caf2d765154d7e5929cc5593427f0686d24c0 100644 (file)
@@ -123,6 +123,9 @@ IMPLEMENT_APP(MyApp)
 // 'Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     wxImage::AddHandler(new wxPNGHandler);
 
     // create the main application window