X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/574d4d1c4c021ed7296e9f1a37bfc6cde594437f..bb5521a9f325ed064e9d28517a5decec08cb9c56:/samples/wizard/wizard.cpp diff --git a/samples/wizard/wizard.cpp b/samples/wizard/wizard.cpp index 22de882986..49ce4a5857 100644 --- a/samples/wizard/wizard.cpp +++ b/samples/wizard/wizard.cpp @@ -353,6 +353,9 @@ IMPLEMENT_APP(MyApp) // `Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + MyFrame *frame = new MyFrame(_T("wxWizard Sample")); // and show it (the frames, unlike simple controls, are not shown when