Fix __repr__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a6d2f5bb02
commit
c4f8516517
@ -75,7 +75,7 @@ public:
|
||||
%pythoncode {
|
||||
asTuple = Get
|
||||
def __str__(self): return str(self.asTuple())
|
||||
def __repr__(self): return 'wxColour' + str(self.asTuple())
|
||||
def __repr__(self): return 'wx.Colour' + str(self.asTuple())
|
||||
def __nonzero__(self): return self.Ok()
|
||||
def __getinitargs__(self): return ()
|
||||
def __getstate__(self): return self.asTuple()
|
||||
|
Loading…
Reference in New Issue
Block a user