Added typeId property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,6 +31,15 @@ class PyEventBinder(object):
|
||||
success += target.Disconnect(id1, id2, et)
|
||||
return success != 0
|
||||
|
||||
def _getEvtType(self):
|
||||
"""
|
||||
Make it easy to get to the default wxEventType typeID for this
|
||||
event binder.
|
||||
"""
|
||||
return self.evtType[0]
|
||||
|
||||
typeId = property(_getEvtType)
|
||||
|
||||
|
||||
def __call__(self, *args):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user