]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/validate/validate.cpp
Patch from FM with more bakefile tweaks and etc.
[wxWidgets.git] / samples / validate / validate.cpp
index 1aa0304fef919c30646c4fb60994ee980c1465f4..45da6770672fe6d4ce1377676d6817f54879b000 100644 (file)
@@ -74,6 +74,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // Create and display the main frame window.
     MyFrame *frame = new MyFrame((wxFrame *) NULL, wxT("Validator Test"),
                                  50, 50, 300, 250);