fixed compilation without wxUSE_STREAMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-02-05 00:14:00 +00:00
parent 2c892c0b0c
commit 77fac225ba

View File

@ -1203,7 +1203,10 @@ wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype )
void wxImage::InitStandardHandlers()
{
#if wxUSE_STREAMS
AddHandler(new wxBMPHandler);
#endif // wxUSE_STREAMS
#if wxUSE_XPM && !defined(__WXGTK__) && !defined(__WXMOTIF__)
AddHandler(new wxXPMHandler);
#endif