X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7c75283f2144469e8fa6a24ca285b42fab69a6b..dcc1aa238271267e92069d834781ee8fd15007bd:/wxPython/contrib/activex/activex.py?ds=inline diff --git a/wxPython/contrib/activex/activex.py b/wxPython/contrib/activex/activex.py index e834d9e643..346ea8e180 100644 --- a/wxPython/contrib/activex/activex.py +++ b/wxPython/contrib/activex/activex.py @@ -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):