SWIGged updates for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-03-04 05:50:52 +00:00
parent 89505f6a9c
commit bf2e21452d
23 changed files with 732 additions and 268 deletions

View File

@@ -194,7 +194,10 @@ class wxImagePtr(wxObjectPtr):
self.thisown = 0
def __del__(self, delfunc=imagec.delete_wxImage):
if self.thisown == 1:
delfunc(self)
try:
delfunc(self)
except:
pass
def Create(self, *_args, **_kwargs):
val = apply(imagec.wxImage_Create,(self,) + _args, _kwargs)
return val