Check for TypeError exceptions in PostCreate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2072,9 +2072,15 @@ opaque.", "");
|
||||
self.thisown = pre.thisown
|
||||
pre.thisown = 0
|
||||
if hasattr(self, '_setOORInfo'):
|
||||
self._setOORInfo(self)
|
||||
try:
|
||||
self._setOORInfo(self)
|
||||
except TypeError:
|
||||
pass
|
||||
if hasattr(self, '_setCallbackInfo'):
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
try:
|
||||
self._setCallbackInfo(self, pre.__class__)
|
||||
except TypeError:
|
||||
pass
|
||||
}
|
||||
|
||||
%pythoncode {
|
||||
|
Reference in New Issue
Block a user