X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1a3bffc9384654ad8e73448ad5b21f929776032..66ddd8d2f2e58f51a0ddecf2581766b6f932254a:/samples/layout/layout.cpp?ds=sidebyside diff --git a/samples/layout/layout.cpp b/samples/layout/layout.cpp index a8d6151231..606813fc27 100644 --- a/samples/layout/layout.cpp +++ b/samples/layout/layout.cpp @@ -41,6 +41,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + // Create the main frame window MyFrame *frame = new MyFrame;