]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/rotate/rotate.cpp
removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
[wxWidgets.git] / samples / rotate / rotate.cpp
index 3b48a063ab2c9e089f57caa6284d0d3fc49f9d4f..5927f6e7b2dde1cb793f0912fe63f3d05ea56ae9 100644 (file)
@@ -127,6 +127,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
 #if wxUSE_LIBPNG
     wxImage::AddHandler( new wxPNGHandler );
 #endif