X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d806d30a0ff287e6c244edab05c6563365a83e81..e960c20e389061c0db09e03fdaf9ffe3a418779b:/samples/taskbar/tbtest.cpp?ds=sidebyside diff --git a/samples/taskbar/tbtest.cpp b/samples/taskbar/tbtest.cpp index a0483cac42..fcda0b64e3 100644 --- a/samples/taskbar/tbtest.cpp +++ b/samples/taskbar/tbtest.cpp @@ -37,6 +37,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit(void) { + if ( !wxApp::OnInit() ) + return false; + // Create the main frame window dialog = new MyDialog(NULL, wxID_ANY, wxT("wxTaskBarIcon Test Dialog"), wxDefaultPosition, wxSize(365, 290));