X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6716fce4398b873d0153a487de2a937084ec9b60..6cd674726b8ae173a567410b03bfa94423c69926:/samples/opengl/isosurf/isosurf.cpp diff --git a/samples/opengl/isosurf/isosurf.cpp b/samples/opengl/isosurf/isosurf.cpp index 781d2a8a16..f602caeeb4 100644 --- a/samples/opengl/isosurf/isosurf.cpp +++ b/samples/opengl/isosurf/isosurf.cpp @@ -246,6 +246,9 @@ IMPLEMENT_APP(MyApp) // `Main program' equivalent, creating windows and returning main app frame bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + Args(argc, argv); // Create the main frame window