]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/test/test.cpp
generate #line references to source .xrc files in wxrc --gettext (patch #1803492...
[wxWidgets.git] / samples / html / test / test.cpp
index ae1dee0c81998178e3c304f099945b5bb65b3049..59b006e2bbb17eaf768f9549b1de7274ef4c7848 100644 (file)
@@ -154,6 +154,9 @@ IMPLEMENT_APP(MyApp)
 // `Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
 #if wxUSE_SYSTEM_OPTIONS
     wxSystemOptions::SetOption(wxT("no-maskblt"), 1);
 #endif