X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6abe8375aca226f1f886bf41648b610972a6d875..c7206e642459697310df2051e76068307584aa14:/wxPython/src/gdi.i diff --git a/wxPython/src/gdi.i b/wxPython/src/gdi.i index dc2e89c2ee..e0d67e8c1e 100644 --- a/wxPython/src/gdi.i +++ b/wxPython/src/gdi.i @@ -409,6 +409,7 @@ struct wxNativeFontInfo // reset to the default state void Init(); +#ifndef __WXGTK__ // accessors and modifiers for the font elements int GetPointSize() const; wxFontStyle GetStyle() const; @@ -425,6 +426,7 @@ struct wxNativeFontInfo void SetFaceName(wxString facename); void SetFamily(wxFontFamily family); void SetEncoding(wxFontEncoding encoding); +#endif // it is important to be able to serialize wxNativeFontInfo objects to be // able to store them (in config file, for example)