X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..a22be3e1fcf362850fe33d52d55518ad68b98d02:/include/wx/font.h diff --git a/include/wx/font.h b/include/wx/font.h index fe9632599c..d38bd307f3 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 __WXMAC_X__ + virtual ~wxFontBase() {} // Added min for Mac X +#endif // from the font components static wxFont *New(