SWIGged updates for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-03-04 05:33:01 +00:00
parent f7c3abb0a2
commit 238ab89099
27 changed files with 444 additions and 83 deletions

View File

@@ -51,7 +51,10 @@ class wxPseudoMetaFilePtr(wxObjectPtr):
self.thisown = 0
def __del__(self, delfunc=oglshapesc.delete_wxPseudoMetaFile):
if self.thisown == 1:
delfunc(self)
try:
delfunc(self)
except:
pass
def Draw(self, *_args, **_kwargs):
val = apply(oglshapesc.wxPseudoMetaFile_Draw,(self,) + _args, _kwargs)
return val