]> git.saurik.com Git - wxWidgets.git/commitdiff
wxXPMDecoder requires wxUSE_IMAGE && wxUSE_XPM
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 3 Aug 2006 16:54:22 +0000 (16:54 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 3 Aug 2006 16:54:22 +0000 (16:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/xpmdecod.h

index b3d0b0b1408a4654d35b9f29e1542159d24e1c3c..bf75164ac3c9fb0bcffa887c3cba4548152288be 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "wx/defs.h"
 
 
 #include "wx/defs.h"
 
+#if wxUSE_IMAGE && wxUSE_XPM
 
 class WXDLLIMPEXP_CORE wxImage;
 class WXDLLIMPEXP_BASE wxInputStream;
 
 class WXDLLIMPEXP_CORE wxImage;
 class WXDLLIMPEXP_BASE wxInputStream;
@@ -37,6 +38,7 @@ public:
     wxImage ReadData(const char **xpm_data);
 };
 
     wxImage ReadData(const char **xpm_data);
 };
 
+#endif // wxUSE_IMAGE && wxUSE_XPM
 
 
-#endif  // _WX_GIFDECOD_H_
+#endif  // _WX_XPM_H_