]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.cpp
rebaked after changing the version number
[wxWidgets.git] / samples / mdi / mdi.cpp
index dbad7666917e09739b491a4fbf47b20cd94270e9..18e040016398e2446180fd831470430d8baa030e 100644 (file)
@@ -112,6 +112,9 @@ END_EVENT_TABLE()
 // Initialise this in OnInit, not statically
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // Create the main frame window
 
     frame = new MyFrame((wxFrame *)NULL, wxID_ANY, _T("MDI Demo"),