X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bcd4039e21badaad41a48f25ab0472b68c94326..e960c20e389061c0db09e03fdaf9ffe3a418779b:/samples/validate/validate.cpp diff --git a/samples/validate/validate.cpp b/samples/validate/validate.cpp index 1aa0304fef..45da677067 100644 --- a/samples/validate/validate.cpp +++ b/samples/validate/validate.cpp @@ -74,6 +74,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + // Create and display the main frame window. MyFrame *frame = new MyFrame((wxFrame *) NULL, wxT("Validator Test"), 50, 50, 300, 250);