X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5f01deabb423e98bc76610d2bb462f2d28285c8..0d2653ff9752af0cb4ba2b9fc9090700805cb4c5:/wxPython/src/_font.i?ds=sidebyside diff --git a/wxPython/src/_font.i b/wxPython/src/_font.i index 2805c2279e..51a138b0c5 100644 --- a/wxPython/src/_font.i +++ b/wxPython/src/_font.i @@ -240,7 +240,9 @@ public: // accessors and modifiers for the font elements int GetPointSize() const; +#ifdef __WXMSW__ wxSize GetPixelSize() const; +#endif wxFontStyle GetStyle() const; wxFontWeight GetWeight() const; bool GetUnderlined() const; @@ -249,7 +251,9 @@ public: wxFontEncoding GetEncoding() const; void SetPointSize(int pointsize); +#ifdef __WXMSW__ void SetPixelSize(const wxSize& pixelSize); +#endif void SetStyle(wxFontStyle style); void SetWeight(wxFontWeight weight); void SetUnderlined(bool underlined);