X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cec5ffc46da1cf66cb3e61567006a8c0f4b84f81..7c2b62db9173af22dc81aad5e26cbcbc4f2a6645:/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 )