SWIGged updates for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-03-25 21:53:30 +00:00
parent 7108497a54
commit 7e50db3f1d
62 changed files with 7706 additions and 2978 deletions

View File

@@ -249,9 +249,12 @@ class wxTaskBarIconPtr(wxEvtHandlerPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,windows2c=windows2c):
if self.thisown == 1 :
windows2c.delete_wxTaskBarIcon(self)
def __del__(self, delfunc=windows2c.delete_wxTaskBarIcon):
if self.thisown == 1:
try:
delfunc(self)
except:
pass
def SetIcon(self, *_args, **_kwargs):
val = apply(windows2c.wxTaskBarIcon_SetIcon,(self,) + _args, _kwargs)
return val