removed XPM handler from wxImage's standard handlers, let's see if it does any harm

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2002-12-09 21:03:25 +00:00
parent 9d683b445c
commit 1de1d24e96
2 changed files with 1 additions and 12 deletions

View File

@ -60,11 +60,7 @@ void wxInitAllImageHandlers()
wxImage::AddHandler( new wxCURHandler );
wxImage::AddHandler( new wxANIHandler );
#endif
#if wxUSE_XPM && (defined(__WXGTK__) || defined(__WXMOTIF__))
// NB: keep this #ifdef in sync with the one in image.cpp
// (wxImage::InitStandardHandlers) - they must complement each other
// so that there's always exactly one XPM handler added after calling
// wxInitAllImageHandlers()
#if wxUSE_XPM
wxImage::AddHandler( new wxXPMHandler );
#endif
}

View File

@ -1267,13 +1267,6 @@ void wxImage::InitStandardHandlers()
#if wxUSE_STREAMS
AddHandler(new wxBMPHandler);
#endif // wxUSE_STREAMS
#if wxUSE_XPM && !defined(__WXGTK__) && !defined(__WXMOTIF__)
// NB: keep this #ifdef in sync with the one in imagall.cpp -
// they must complement each other so that there's always exactly
// one XPM handler added after calling wxInitAllImageHandlers()
AddHandler(new wxXPMHandler);
#endif
}
void wxImage::CleanUpHandlers()