From: Robin Dunn Date: Wed, 13 Sep 2006 20:44:46 +0000 (+0000) Subject: Dashes and Stipple accessors are not available on all platforms X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9c21b1879f0ca558561fed7354d37624c10c0268 Dashes and Stipple accessors are not available on all platforms git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index a3e5066184..40a09b39e5 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -98,11 +98,13 @@ public: #ifndef __WXMAC__ int GetDashCount() const; + %property(DashCount, GetDashCount, doc="See `GetDashCount`"); #endif #ifdef __WXMSW__ wxBitmap* GetStipple(); void SetStipple(wxBitmap& stipple); + %property(Stipple, GetStipple, SetStipple, doc="See `GetStipple` and `SetStipple`"); #endif @@ -114,7 +116,6 @@ public: %property(Cap, GetCap, SetCap, doc="See `GetCap` and `SetCap`"); %property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`"); - %property(DashCount, GetDashCount, doc="See `GetDashCount`"); %property(Dashes, GetDashes, SetDashes, doc="See `GetDashes` and `SetDashes`"); %property(Join, GetJoin, SetJoin, doc="See `GetJoin` and `SetJoin`"); %property(Style, GetStyle, SetStyle, doc="See `GetStyle` and `SetStyle`");