]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontenum.h
using subclass as impl ptr, common code in macro because mix-in are not possible...
[wxWidgets.git] / include / wx / fontenum.h
index 9a669505dd2da4e45e7e722e1475a1e0acdf9bda..ca127b3c8aa4d97ded4dc4a2d908a6ba5053ab6b 100644 (file)
 #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_