uses wxInitAllImageHandlers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2000-01-19 23:05:39 +00:00
parent f890e2d474
commit 047640f231

View File

@ -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");