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:
@@ -651,7 +651,10 @@ class wxHtmlDCRendererPtr(wxObjectPtr):
|
||||
self.thisown = 0
|
||||
def __del__(self, delfunc=htmlc.delete_wxHtmlDCRenderer):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
try:
|
||||
delfunc(self)
|
||||
except:
|
||||
pass
|
||||
def SetDC(self, *_args, **_kwargs):
|
||||
val = apply(htmlc.wxHtmlDCRenderer_SetDC,(self,) + _args, _kwargs)
|
||||
return val
|
||||
@@ -712,7 +715,10 @@ class wxHtmlEasyPrintingPtr(wxObjectPtr):
|
||||
self.thisown = 0
|
||||
def __del__(self, delfunc=htmlc.delete_wxHtmlEasyPrinting):
|
||||
if self.thisown == 1:
|
||||
delfunc(self)
|
||||
try:
|
||||
delfunc(self)
|
||||
except:
|
||||
pass
|
||||
def PreviewFile(self, *_args, **_kwargs):
|
||||
val = apply(htmlc.wxHtmlEasyPrinting_PreviewFile,(self,) + _args, _kwargs)
|
||||
return val
|
||||
|
Reference in New Issue
Block a user