X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8628b7d4139d1fa2ab60b254a1a346008d4a9123..489a164c1c56855b29285230237c69514ff823e1:/include/wx/gtk1/font.h diff --git a/include/wx/gtk1/font.h b/include/wx/gtk1/font.h index ca0c71af87..8f17e61493 100644 --- a/include/wx/gtk1/font.h +++ b/include/wx/gtk1/font.h @@ -62,7 +62,7 @@ public: // wxGTK-specific bool Create(const wxString& fontname); - ~wxFont(); + virtual ~wxFont(); // implement base class pure virtuals virtual int GetPointSize() const; @@ -79,7 +79,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);