reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-26 16:30:40 +00:00
parent fe42ee5dac
commit 924f9a4201
9 changed files with 61 additions and 29 deletions

View File

@@ -269,7 +269,7 @@ class wxColourPtr(wxObjectPtr):
return "<%s.%s instance; proxy of C++ wxColour instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
asTuple = Get
def __str__(self): return str(self.asTuple())
def __repr__(self): return 'wxColour:' + str(self.asTuple())
def __repr__(self): return 'wxColour' + str(self.asTuple())
def __nonzero__(self): return self.Ok()
def __getinitargs__(self): return ()
def __getstate__(self): return self.asTuple()
@@ -1238,6 +1238,9 @@ class wxRegionIteratorPtr(wxObjectPtr):
def Next(self, *_args, **_kwargs):
val = gdic.wxRegionIterator_Next(self, *_args, **_kwargs)
return val
def __nonzero__(self, *_args, **_kwargs):
val = gdic.wxRegionIterator___nonzero__(self, *_args, **_kwargs)
return val
def __repr__(self):
return "<%s.%s instance; proxy of C++ wxRegionIterator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxRegionIterator(wxRegionIteratorPtr):