X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e23cdba3a2e58e788dd18734e7893185531a5b..77436c4cbac2269e564dc4fcf4494a58feca0af4:/include/wx/font.h?ds=sidebyside diff --git a/include/wx/font.h b/include/wx/font.h index b5d1650c3b..1aad6d9172 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -78,6 +78,9 @@ 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__)