Start adding some properties for getter/setter methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -112,6 +112,11 @@ uninitialised bitmap (`wx.Bitmap.Ok` returns False).", "");
|
||||
#endif
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
|
||||
%property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`");
|
||||
%property(Stipple, GetStipple, SetStipple, doc="See `GetStipple` and `SetStipple`");
|
||||
%property(Style, GetStyle, SetStyle, doc="See `GetStyle` and `SetStyle`");
|
||||
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user