more properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-12 03:20:12 +00:00
parent 5034c9dbba
commit 7012bb9f03
26 changed files with 323 additions and 5 deletions

View File

@@ -111,6 +111,14 @@ public:
bool __ne__(const wxPen* other) { return other ? (*self != *other) : true; }
}
%pythoncode { def __nonzero__(self): return self.Ok() }
%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`");
%property(Width, GetWidth, SetWidth, doc="See `GetWidth` and `SetWidth`");
};