From 047640f231e23b77e72f3a4a19b63419ded23e18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 19 Jan 2000 23:05:39 +0000 Subject: [PATCH] uses wxInitAllImageHandlers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/help/help.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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"); -- 2.47.2