X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..b1d66b5415f7befb45e050d7097571642b8bfa56:/include/wx/font.h diff --git a/include/wx/font.h b/include/wx/font.h index fe9632599c..12ce162da7 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,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__)