// This is a generic implementation that should work on all ports
// without specific support by the port.
//
- #define wNO_NATIVE_FONTINFO
+ #define wxNO_NATIVE_FONTINFO
int pointSize;
- int family;
+ wxFontFamily family;
wxFontStyle style;
wxFontWeight weight;
bool underlined;
// reset to the default state
void Init();
- // accessors and modifiers for the font elements: note that there is no
- // GetFamily() because in general it is impossible to get the family for an
- // arbitrary native font
+ // accessors and modifiers for the font elements
int GetPointSize() const;
wxFontStyle GetStyle() const;
wxFontWeight GetWeight() const;
bool GetUnderlined() const;
wxString GetFaceName() const;
+ wxFontFamily GetFamily() const;
wxFontEncoding GetEncoding() const;
void SetPointSize(int pointsize);
void SetWeight(wxFontWeight weight);
void SetUnderlined(bool underlined);
void SetFaceName(wxString facename);
+ void SetFamily(wxFontFamily family);
void SetEncoding(wxFontEncoding encoding);
// it is important to be able to serialize wxNativeFontInfo objects to be