X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5014bb3a2f07747a69c486ff3e3732a8cabd37fd..06936905a43d7a4b05bd3cc6eb50eb6ab24d0eeb:/samples/access/accesstest.cpp diff --git a/samples/access/accesstest.cpp b/samples/access/accesstest.cpp index 4daa8672ac..3b0938b983 100644 --- a/samples/access/accesstest.cpp +++ b/samples/access/accesstest.cpp @@ -163,6 +163,9 @@ IMPLEMENT_APP(MyApp) // 'Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + #if wxUSE_ACCESSIBILITY // Note: JAWS for Windows will only speak the context-sensitive // help if you use this help provider: