X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a85dda4ad8ebe4d1529e8e117dc326d89f8daec0..2e9c0c010a375156eb72eaa1e2e4efcbb7ecf06b:/samples/notebook/notebook.cpp diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 1fc248501e..83f7cb6dd5 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -34,6 +34,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + #if wxUSE_HELP wxHelpProvider::Set( new wxSimpleHelpProvider ); #endif