]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/xrc.py
fixed deadlock when calling wxPostEvent() from worker thread
[wxWidgets.git] / wxPython / src / msw / xrc.py
index 5bbd09e39e681d140a1cfdd0b17dcbdf2169abaa..6bee8d35af951a4125b2cff0f4dcf77406b758d6 100644 (file)
@@ -262,7 +262,7 @@ class XmlSubclassFactory(object):
     def __init__(self, *args, **kwargs): 
         """__init__(self) -> XmlSubclassFactory"""
         _xrc.XmlSubclassFactory_swiginit(self,_xrc.new_XmlSubclassFactory(*args, **kwargs))
-        self._setCallbackInfo(self, XmlSubclassFactory)
+        XmlSubclassFactory._setCallbackInfo(self, self, XmlSubclassFactory)
 
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
@@ -535,7 +535,7 @@ class XmlResourceHandler(_core.Object):
     def __init__(self, *args, **kwargs): 
         """__init__(self) -> XmlResourceHandler"""
         _xrc.XmlResourceHandler_swiginit(self,_xrc.new_XmlResourceHandler(*args, **kwargs))
-        self._setCallbackInfo(self, XmlResourceHandler)
+        XmlResourceHandler._setCallbackInfo(self, self, XmlResourceHandler)
 
     __swig_destroy__ = _xrc.delete_XmlResourceHandler
     __del__ = lambda self : None;