X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/435151d7f2eac93bf85552820eefa356bf809b6c..fed66a8797b486b0a242fc878248511b1f594897:/include/wx/fontenum.h diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h index 9c56ec51cd..456590ae64 100644 --- a/include/wx/fontenum.h +++ b/include/wx/fontenum.h @@ -13,11 +13,11 @@ #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_