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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user