X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e1d79d308a7c2eda0c02ed496f1b25dad39a2c8..03a187ccae181e3736ec206d6d716846bfcb2007:/include/wx/fontenum.h diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h index 9a669505dd..051ee572c1 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() {} @@ -82,7 +81,9 @@ private: bool EnumerateEncodingsUTF8(const wxString& facename); #endif - DECLARE_NO_COPY_CLASS(wxFontEnumerator) + wxDECLARE_NO_COPY_CLASS(wxFontEnumerator); }; +#endif // wxUSE_FONTENUM + #endif // _WX_FONTENUM_H_