X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b143cf708ba5e419de4c3d0b03640eedb6b926d1..e960c20e389061c0db09e03fdaf9ffe3a418779b:/samples/multimon/multimon_test.cpp diff --git a/samples/multimon/multimon_test.cpp b/samples/multimon/multimon_test.cpp index f279ac7559..2347e7fdb3 100644 --- a/samples/multimon/multimon_test.cpp +++ b/samples/multimon/multimon_test.cpp @@ -22,6 +22,9 @@ IMPLEMENT_APP(TestApp) bool TestApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + bool is_use_display = #if wxUSE_DISPLAY true