X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c66972ccc2e30bb737cdbfa64b6ea22964faa7f0..bb650010c8200174ce824aaadac44e8e5ead194d:/samples/image/image.cpp?ds=sidebyside diff --git a/samples/image/image.cpp b/samples/image/image.cpp index ae7d3d1324..99c3ab73eb 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -1168,6 +1168,9 @@ void MyFrame::OnPaste(wxCommandEvent& WXUNUSED(event)) bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + wxInitAllImageHandlers(); wxFrame *frame = new MyFrame();