X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..dc484d491b15355285a89da275c58c2ef247d1f4:/include/wx/mgl/font.h?ds=sidebyside diff --git a/include/wx/mgl/font.h b/include/wx/mgl/font.h index 2437ede286..75fd7e9aaa 100644 --- a/include/wx/mgl/font.h +++ b/include/wx/mgl/font.h @@ -58,7 +58,7 @@ public: bool Create(const wxNativeFontInfo& fontinfo); - ~wxFont() {} + virtual ~wxFont() {} // implement base class pure virtuals virtual int GetPointSize() const; @@ -75,7 +75,7 @@ public: virtual void SetFamily(int family); virtual void SetStyle(int style); virtual void SetWeight(int weight); - virtual void SetFaceName(const wxString& faceName); + virtual bool SetFaceName(const wxString& faceName); virtual void SetUnderlined(bool underlined); virtual void SetEncoding(wxFontEncoding encoding);