]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/image/image.cpp
removed dll export declaration for wxCStrData: it's unneeded because the class is...
[wxWidgets.git] / samples / image / image.cpp
index ae7d3d1324c21d610626efd624c6005ef2e08347..99c3ab73ebf7195068b04e8094618cb39d5f5601 100644 (file)
@@ -1168,6 +1168,9 @@ void MyFrame::OnPaste(wxCommandEvent& WXUNUSED(event))
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     wxInitAllImageHandlers();
 
     wxFrame *frame = new MyFrame();