X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3a58b249e576b73b01cd74deb1cf879aa6e1975..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/fontenum.h?ds=sidebyside diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h index 0e4b525cd5..051ee572c1 100644 --- a/include/wx/fontenum.h +++ b/include/wx/fontenum.h @@ -13,6 +13,10 @@ #ifndef _WX_FONTENUM_H_ #define _WX_FONTENUM_H_ +#include "wx/defs.h" + +#if wxUSE_FONTENUM + #include "wx/fontenc.h" #include "wx/arrstr.h" @@ -21,7 +25,7 @@ // fonts with given attributes // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFontEnumerator +class WXDLLIMPEXP_CORE wxFontEnumerator { public: wxFontEnumerator() {} @@ -77,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_