git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// `Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit()
{
// `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");
SetVendorName("wxWindows");
SetAppName("wxHTMLHelp");