- wxFont& operator = ( const wxFont& font );
- bool operator == ( const wxFont& font );
- bool operator != ( const wxFont& font );
- bool Ok() const;
-
- int GetPointSize() const;
- wxString GetFaceName() const;
- int GetFamily() const;
- wxString GetFamilyString() const;
- int GetFontId() const;
- wxString GetFaceString() const;
- int GetStyle() const;
- wxString GetStyleString() const;
- int GetWeight() const;
- wxString GetWeightString() const;
- bool GetUnderlined() const;
-
- wxFont( char *xFontName );
-
- // implementation
+
+ // implement base class pure virtuals
+ virtual int GetPointSize() const;
+ virtual int GetFamily() const;
+ virtual int GetStyle() const;
+ virtual int GetWeight() const;
+ virtual wxString GetFaceName() const;
+ virtual bool GetUnderlined() const;
+ virtual wxFontEncoding GetEncoding() const;
+
+ virtual void SetPointSize( int pointSize );
+ virtual void SetFamily( int family );
+ virtual void SetStyle( int style );
+ virtual void SetWeight( int weight );
+ virtual void SetFaceName( const wxString& faceName );
+ virtual void SetUnderlined( bool underlined );
+ virtual void SetEncoding(wxFontEncoding encoding);
+
+ // implementation from now on
+ void Unshare();