]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontenum.h
Create an autorelease pool to catch objects created during several special situations...
[wxWidgets.git] / include / wx / fontenum.h
index 0e4b525cd573ef573d0bfe5e414eda6b9e6fa857..051ee572c1970a2e43ad90cd3e9549aa16288607 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"
 
@@ -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_