]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagxpm.cpp
DJGPP compilation fixes
[wxWidgets.git] / src / common / imagxpm.cpp
index 7d3bced364b6307a1b5170759f4d51fb2824e038..07f8ba9750f57d92f2850928b1dae0026ca04239 100644 (file)
@@ -77,6 +77,7 @@ license is as follows:
 #  include "wx/defs.h"
 #endif
 
+#if wxUSE_XPM
 
 #include "wx/imagxpm.h"
 #include "wx/wfstream.h"
@@ -221,3 +222,4 @@ bool wxXPMHandler::DoCanRead(wxInputStream& stream)
 
 #endif  // wxUSE_STREAMS
 
+#endif // wxUSE_XPM