]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
Added include wx/timer.h to non WX_PRECOMP case.
[wxWidgets.git] / samples / notebook / notebook.cpp
index 1fc248501eb2d08a578c6ba002139bcd92a018bb..83f7cb6dd59f1a3fae30656a62fa3319adf0c2e2 100644 (file)
@@ -34,6 +34,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
 #if wxUSE_HELP
     wxHelpProvider::Set( new wxSimpleHelpProvider );
 #endif