X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e1d79d308a7c2eda0c02ed496f1b25dad39a2c8..65d990fb214d0298d17eda7bae6b0dbaa830f62e:/include/wx/fontenum.h diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h index 9a669505dd..ca127b3c8a 100644 --- a/include/wx/fontenum.h +++ b/include/wx/fontenum.h @@ -13,20 +13,19 @@ #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 // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFontEnumerator +class WXDLLIMPEXP_CORE wxFontEnumerator { public: wxFontEnumerator() {} @@ -85,4 +84,6 @@ private: DECLARE_NO_COPY_CLASS(wxFontEnumerator) }; +#endif // wxUSE_FONTENUM + #endif // _WX_FONTENUM_H_