X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e23cdba3a2e58e788dd18734e7893185531a5b..c7e9e7584f4c53996a6be854f0830c9aa9885f14:/include/wx/font.h 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__)