X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e1d79d308a7c2eda0c02ed496f1b25dad39a2c8..0c73d133517098480565f3dbb529a5f2a72ef68f:/include/wx/fontenum.h diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h index 9a669505dd..29127061a8 100644 --- a/include/wx/fontenum.h +++ b/include/wx/fontenum.h @@ -13,14 +13,13 @@ #ifndef _WX_FONTENUM_H_ #define _WX_FONTENUM_H_ +#include "wx/defs.h" + +#if wxUSE_FONTENUM + #include "wx/fontenc.h" #include "wx/arrstr.h" -#if wxUSE_PANGO || defined(__WXDFB__) - // defined if the port uses only UTF-8 font encodings internally - #define wxHAS_UTF8_FONTS -#endif - // ---------------------------------------------------------------------------- // wxFontEnumerator enumerates all available fonts on the system or only the // fonts with given attributes @@ -85,4 +84,6 @@ private: DECLARE_NO_COPY_CLASS(wxFontEnumerator) }; +#endif // wxUSE_FONTENUM + #endif // _WX_FONTENUM_H_