]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/internat/internat.cpp
compilation fix for g++ 3 (and probably others) after the last commit
[wxWidgets.git] / samples / internat / internat.cpp
index 7f7b8b9cb248293d55145d6e065bd1dcf678bac8..7a91d37e087fe99e438a1476e4daf23cde14160b 100644 (file)
@@ -166,6 +166,9 @@ IMPLEMENT_APP(MyApp)
 // `Main program' equivalent, creating windows and returning main app frame
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     long lng = -1;
 
     if ( argc == 2 )