SWIGged update for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-10-22 05:07:14 +00:00
parent 8b26aa07de
commit 5de6e36941
30 changed files with 922 additions and 619 deletions

View File

@@ -250,11 +250,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)