From: Robert Roebling Date: Sun, 15 Feb 2004 00:30:44 +0000 (+0000) Subject: The file dialog needs to be able to read images (mostly PNG). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/013e1feecd8d517a5b73cd1c0e37843e84c2619c The file dialog needs to be able to read images (mostly PNG). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 96d05b980d..1a6f39515a 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -123,6 +123,8 @@ MyCanvas *myCanvas = (MyCanvas *) NULL; // `Main program' equivalent, creating windows and returning main app frame bool MyApp::OnInit() { + wxInitAllImageHandlers(); + #if defined(__WXGTK__) && defined(wxUSE_UNICODE) wxConvCurrent = &wxConvLibc; #endif