X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..9e15c94f41c8cdf42470d318269e48e90d6ba75e:/include/wx/mgl/font.h 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);