X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..abb69c6c82d61cf18f14270650a68896a3d8ed47:/include/wx/font.h?ds=inline diff --git a/include/wx/font.h b/include/wx/font.h index fe9632599c..1aad6d9172 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 __DARWIN__ + virtual ~wxFontBase() { } +#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__)