SWIGged updates for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-08-12 21:56:11 +00:00
parent da1158bb91
commit 383ea3d026
16 changed files with 436 additions and 34 deletions

View File

@@ -187,12 +187,16 @@ class wxPyTipProviderPtr(wxTipProviderPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
val = apply(misc2c.wxPyTipProvider__setCallbackInfo,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPyTipProvider instance at %s>" % (self.this,)
class wxPyTipProvider(wxPyTipProviderPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(misc2c.new_wxPyTipProvider,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyTipProvider)