X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dce2bd223c2370f001f9ca93e04cbd437ff3f988..fe45b493dcc42fea4ad4f781a4fb7844d2e95fd0:/wxPython/src/_event_ex.py diff --git a/wxPython/src/_event_ex.py b/wxPython/src/_event_ex.py index 622bed6de9..0fcb07496a 100644 --- a/wxPython/src/_event_ex.py +++ b/wxPython/src/_event_ex.py @@ -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): """