Add wxImage::InitAllHandlers()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Sylvain Bougnoux
1999-09-20 09:03:37 +00:00
parent 45fcbf3b7a
commit a14e57f9f7
3 changed files with 49 additions and 10 deletions

View File

@@ -610,6 +610,25 @@ void wxImage::InitStandardHandlers()
AddHandler( new wxBMPHandler );
}
void wxImage::InitAllHandlers()
{
#if wxUSE_LIBPNG
AddHandler( new wxPNGHandler );
#endif
#if wxUSE_LIBJPEG
AddHandler( new wxJPEGHandler );
#endif
#if wxUSE_GIF
AddHandler( new wxGIFHandler );
#endif
#if wxUSE_PNM
AddHandler( new wxPNMHandler );
#endif
#if wxUSE_PCX
AddHandler( new wxPCXHandler );
#endif
}
void wxImage::CleanUpHandlers()
{
wxNode *node = sm_handlers.First();