X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5014bb3a2f07747a69c486ff3e3732a8cabd37fd..1950edc304b61c657380a6b09cd3df92343ac4f0:/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: