]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/dbtest.cpp
define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0...
[wxWidgets.git] / samples / db / dbtest.cpp
index 211f6ca7c3b3fafa69384c09b39e48a13ff57898..20fc064e0caf27da53525db6b588a4e4e137b7c7 100644 (file)
@@ -635,6 +635,9 @@ void CheckSupportForAllDataTypes(wxDb *pDb)
 
 bool DatabaseDemoApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     DbConnectInf    = NULL;
     Contact         = NULL;