reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-12-30 01:53:14 +00:00
parent f78241f6c0
commit 74e96f3d21
4 changed files with 34 additions and 52 deletions

View File

@@ -103,9 +103,8 @@ class Colour(core.Object):
def __str__(self): return 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()
def __setstate__(self, state): self.Set(*state)
__safe_for_unpickling__ = True
def __reduce__(self): return (Colour, self.Get())
class ColourPtr(Colour):