X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adf07e34d9a29d3187e9ee79c870e04e58e989e9..39b61aa3eb950489f880fbe2024d3b5bc82a11f5:/samples/render/render.cpp?ds=sidebyside diff --git a/samples/render/render.cpp b/samples/render/render.cpp index 4586ef580e..b8a3ddc525 100644 --- a/samples/render/render.cpp +++ b/samples/render/render.cpp @@ -201,6 +201,9 @@ IMPLEMENT_APP(MyApp) // 'Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + // create the main application window new MyFrame;