SWIGged updates for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-10-22 06:20:16 +00:00
parent 5de6e36941
commit 6a8dabe2ae
28 changed files with 912 additions and 606 deletions

View File

@@ -247,11 +247,19 @@ class wxColourPtr(wxObjectPtr):
def Get(self, *_args, **_kwargs):
val = apply(gdic.wxColour_Get,(self,) + _args, _kwargs)
return val
def __eq__(self, *_args, **_kwargs):
val = apply(gdic.wxColour___eq__,(self,) + _args, _kwargs)
return val
def __ne__(self, *_args, **_kwargs):
val = apply(gdic.wxColour___ne__,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxColour instance at %s>" % (self.this,)
asTuple = Get
def __str__(self): return str(self.asTuple())
def __repr__(self): return str(self.asTuple())
def __nonzero__(self): return self.asTuple() != (0,0,0)
class wxColour(wxColourPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(gdic.new_wxColour,_args,_kwargs)