]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/multimon/multimon_test.cpp
changes wxDirExists() to accept wxString instead of wxChar*, so that it can be used...
[wxWidgets.git] / samples / multimon / multimon_test.cpp
index f279ac7559e90721b3fbd9bfca7434e33686f64f..2347e7fdb329690a5712619644f0446e8b67075d 100644 (file)
@@ -22,6 +22,9 @@ IMPLEMENT_APP(TestApp)
 
 bool TestApp::OnInit()
 {
+  if ( !wxApp::OnInit() )
+      return false;
+
   bool is_use_display =
                         #if wxUSE_DISPLAY
                         true