From: Václav Slavík Date: Wed, 19 Jan 2000 23:05:39 +0000 (+0000) Subject: uses wxInitAllImageHandlers X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/047640f231e23b77e72f3a4a19b63419ded23e18 uses wxInitAllImageHandlers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/html/help/help.cpp b/samples/html/help/help.cpp index a150939d3f..b437a9b3e0 100644 --- a/samples/html/help/help.cpp +++ b/samples/html/help/help.cpp @@ -105,12 +105,7 @@ // `Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { - #if wxUSE_LIBPNG - wxImage::AddHandler(new wxPNGHandler); - #endif - #if wxUSE_LIBJPEG - wxImage::AddHandler(new wxJPEGHandler); - #endif + wxInitAllImageHandlers(); SetVendorName("wxWindows"); SetAppName("wxHTMLHelp");