]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/image.cpp
Stripped out miscellaneous Motif/Xt-specific code
[wxWidgets.git] / src / common / image.cpp
index 73f00d9f88508e2f82617bd60d09adf2a54c0177..d45076980834c64af7b736420bb0ac35dc268d4c 100644 (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