change wxImage::InitAllHandlers to wxInitAllImageHandlers and put it in a separate file

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Sylvain Bougnoux
1999-09-20 19:05:49 +00:00
parent 6e58e01afa
commit b5a4a47df5
4 changed files with 17 additions and 35 deletions

View File

@@ -610,25 +610,6 @@ 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();