X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e23cdba3a2e58e788dd18734e7893185531a5b..14dd645ee16eb022afb19f35d0c8cfdf2d3cdee9:/include/wx/font.h diff --git a/include/wx/font.h b/include/wx/font.h index b5d1650c3b..12ce162da7 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,8 +161,8 @@ private: #include "wx/motif/font.h" #elif defined(__WXGTK__) #include "wx/gtk/font.h" -#elif defined(__WXQT__) - #include "wx/qt/font.h" +#elif defined(__WXMGL__) + #include "wx/mgl/font.h" #elif defined(__WXMAC__) #include "wx/mac/font.h" #elif defined(__WXPM__)