X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..6e264973e636cc41915d166cb7eddf2a7e72cf9b:/include/wx/font.h diff --git a/include/wx/font.h b/include/wx/font.h index fe9632599c..c5bc183ad6 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -72,12 +72,15 @@ enum wxFontWeight // ---------------------------------------------------------------------------- class WXDLLEXPORT wxFontRefData; -class WXDLLEXPORT wxNativeFontInfo; +struct WXDLLEXPORT wxNativeFontInfo; class WXDLLEXPORT wxFontBase : public wxGDIObject { public: // creator function +#ifdef __WXMAC_X__ + virtual ~wxFontBase() {} // Added min for Mac X +#endif // from the font components static wxFont *New( @@ -158,6 +161,8 @@ private: #include "wx/motif/font.h" #elif defined(__WXGTK__) #include "wx/gtk/font.h" +#elif defined(__WXMGL__) + #include "wx/mgl/font.h" #elif defined(__WXQT__) #include "wx/qt/font.h" #elif defined(__WXMAC__)