X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a85dda4ad8ebe4d1529e8e117dc326d89f8daec0..58afa32bf44fa638712bf56d46776ff7424c5282:/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