fixes for unicode build, return values from event handlers (via

updated attributes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-24 23:06:01 +00:00
parent 0bb309f75c
commit 0dabb2a2c6
6 changed files with 267 additions and 122 deletions

View 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):