]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dragimag/dragimag.cpp
Finally fixed control scrolling
[wxWidgets.git] / samples / dragimag / dragimag.cpp
index 557f0a1ef952eb74353314ffafa3a1fddd4f8a60..88881823a34183f4323706f0984ece348b210150 100644 (file)
@@ -368,6 +368,9 @@ MyApp::MyApp()
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
 #if wxUSE_LIBPNG
     wxImage::AddHandler( new wxPNGHandler );
 #endif