]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/render/render.cpp
removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
[wxWidgets.git] / samples / render / render.cpp
index 4586ef580ece37f6ceaafe60b124117b000969b7..b8a3ddc525efebc8a4012ab70a14088822664710 100644 (file)
@@ -201,6 +201,9 @@ IMPLEMENT_APP(MyApp)
 // 'Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // create the main application window
     new MyFrame;