uses wxInitAllImageHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,12 +105,7 @@
|
|||||||
// `Main program' equivalent: the program execution "starts" here
|
// `Main program' equivalent: the program execution "starts" here
|
||||||
bool MyApp::OnInit()
|
bool MyApp::OnInit()
|
||||||
{
|
{
|
||||||
#if wxUSE_LIBPNG
|
wxInitAllImageHandlers();
|
||||||
wxImage::AddHandler(new wxPNGHandler);
|
|
||||||
#endif
|
|
||||||
#if wxUSE_LIBJPEG
|
|
||||||
wxImage::AddHandler(new wxJPEGHandler);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
SetVendorName("wxWindows");
|
SetVendorName("wxWindows");
|
||||||
SetAppName("wxHTMLHelp");
|
SetAppName("wxHTMLHelp");
|
||||||
|
Reference in New Issue
Block a user