]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/activex/activex.py
embedded sample's README updates
[wxWidgets.git] / wxPython / contrib / activex / activex.py
index e834d9e643906d7ab146ca2ab78820d68df53c6d..346ea8e180478c7e615aa71e2feeeb5994fd9cac 100644 (file)
@@ -367,15 +367,13 @@ class ActiveXEvent(core.CommandEvent):
         return "<%s.%s; proxy of C++ wxActiveXEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
     eventName = property(_activex.ActiveXEvent_EventName)
 
-    def _preInit(*args, **kwargs):
-        """
-        _preInit(PyObject pyself)
+    def _preCallInit(*args, **kwargs):
+        """_preCallInit(PyObject pyself)"""
+        return _activex.ActiveXEvent__preCallInit(*args, **kwargs)
 
-        This is called by the EventThunker before calling the handler.
-        We'll convert and load the ActiveX event parameters into
-        attributes of the Python event object.
-        """
-        return _activex.ActiveXEvent__preInit(*args, **kwargs)
+    def _postCallCleanup(*args, **kwargs):
+        """_postCallCleanup(PyObject pyself)"""
+        return _activex.ActiveXEvent__postCallCleanup(*args, **kwargs)
 
 
 class ActiveXEventPtr(ActiveXEvent):