X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7826e2dd838d59c6a8061b4fdd9f7326a6e06de3..2e9760c0ee8b20ea5c85e7cacd016e84957fcebe:/include/wx/font.h?ds=inline 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(