]> git.saurik.com Git - wxWidgets.git/commitdiff
The file dialog needs to be able to read images (mostly PNG).
authorRobert Roebling <robert@roebling.de>
Sun, 15 Feb 2004 00:30:44 +0000 (00:30 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 15 Feb 2004 00:30:44 +0000 (00:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index 96d05b980dbad9ba91e53f6c516c00f5b92a9f79..1a6f39515ab83bd6e91a8d625a438f7009adc4d0 100644 (file)
@@ -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