X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62a9d04c7d9cd359f692f72db2adb781b17b4e69..a69aabc360d54a93e355fab72c6513c75aaa7337:/include/wx/xpmdecod.h diff --git a/include/wx/xpmdecod.h b/include/wx/xpmdecod.h index f35b7f47ea..bf75164ac3 100644 --- a/include/wx/xpmdecod.h +++ b/include/wx/xpmdecod.h @@ -10,12 +10,9 @@ #ifndef _WX_XPMDECOD_H_ #define _WX_XPMDECOD_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xpmdecod.h" -#endif - -#include "wx/setup.h" +#include "wx/defs.h" +#if wxUSE_IMAGE && wxUSE_XPM class WXDLLIMPEXP_CORE wxImage; class WXDLLIMPEXP_BASE wxInputStream; @@ -41,6 +38,7 @@ public: wxImage ReadData(const char **xpm_data); }; +#endif // wxUSE_IMAGE && wxUSE_XPM -#endif // _WX_GIFDECOD_H_ +#endif // _WX_XPM_H_