]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/except/except.cpp
Primary selection stuff
[wxWidgets.git] / samples / except / except.cpp
index 256f483637fd5182dd82a202a0ad505303dde866..f401d6ce186e7675ac98ddbb51cc5e555601aea6 100644 (file)
@@ -238,6 +238,9 @@ IMPLEMENT_APP(MyApp)
 // 'Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // create the main application window
     MyFrame *frame = new MyFrame();