X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1a3bffc9384654ad8e73448ad5b21f929776032..e960c20e389061c0db09e03fdaf9ffe3a418779b:/samples/layout/layout.cpp 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;