From: Václav Slavík Date: Thu, 3 Aug 2006 16:54:22 +0000 (+0000) Subject: wxXPMDecoder requires wxUSE_IMAGE && wxUSE_XPM X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/552796e07e1f40137c7ef97923fdf90860cc034e wxXPMDecoder requires wxUSE_IMAGE && wxUSE_XPM git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/xpmdecod.h b/include/wx/xpmdecod.h index b3d0b0b140..bf75164ac3 100644 --- a/include/wx/xpmdecod.h +++ b/include/wx/xpmdecod.h @@ -12,6 +12,7 @@ #include "wx/defs.h" +#if wxUSE_IMAGE && wxUSE_XPM class WXDLLIMPEXP_CORE wxImage; class WXDLLIMPEXP_BASE wxInputStream; @@ -37,6 +38,7 @@ public: wxImage ReadData(const char **xpm_data); }; +#endif // wxUSE_IMAGE && wxUSE_XPM -#endif // _WX_GIFDECOD_H_ +#endif // _WX_XPM_H_