X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ddc93433cec2476f96808cda8e8036b0379ef02..e960c20e389061c0db09e03fdaf9ffe3a418779b:/samples/text/text.cpp diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 8cadc01a1d..ba305825e5 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -425,6 +425,9 @@ enum bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + // Create the main frame window MyFrame *frame = new MyFrame((wxFrame *) NULL, _T("Text wxWidgets sample"), 50, 50, 700, 550);