]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontenum.h
changing the number of items in wxHtmlListBox should flush the cache
[wxWidgets.git] / include / wx / fontenum.h
index 9c56ec51cd36349ef0a38e5707fa5981224472a7..456590ae64f5c274ca2adf7fdbf45d0aadf7b315 100644 (file)
 #ifndef _WX_FONTENUM_H_
 #define _WX_FONTENUM_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "fontenum.h"
 #endif
 
-#include "wx/font.h"
+#include "wx/fontenc.h"
 
 // ----------------------------------------------------------------------------
 // wxFontEnumerator enumerates all available fonts on the system or only the
@@ -84,6 +84,8 @@ public:
     
 private:
     wxArrayString *m_Facenames, *m_Encodings;
+
+    DECLARE_NO_COPY_CLASS(wxFontEnumerator)
 };
 
 #endif // _WX_FONTENUM_H_