X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8adaf73353f4764d8f53808013a914b4b6e0c282..c96cf8d5d1cf72a6ccc9b75fb29e1bbc5556da9b:/samples/splitter/splitter.cpp diff --git a/samples/splitter/splitter.cpp b/samples/splitter/splitter.cpp index 50a48cdbd0..af93ae1ac8 100644 --- a/samples/splitter/splitter.cpp +++ b/samples/splitter/splitter.cpp @@ -148,6 +148,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + // create and show the main frame MyFrame* frame = new MyFrame;