X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cec5ffc46da1cf66cb3e61567006a8c0f4b84f81..db6634e0d53fce875c78a089f4237a88ae206335:/samples/internat/internat.cpp diff --git a/samples/internat/internat.cpp b/samples/internat/internat.cpp index 7f7b8b9cb2..7a91d37e08 100644 --- a/samples/internat/internat.cpp +++ b/samples/internat/internat.cpp @@ -166,6 +166,9 @@ IMPLEMENT_APP(MyApp) // `Main program' equivalent, creating windows and returning main app frame bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + long lng = -1; if ( argc == 2 )