]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_event_ex.py
Add GetDateOnly
[wxWidgets.git] / wxPython / src / _event_ex.py
index 622bed6de91f65c4d10e207acd973ef875ff07a6..0fcb07496a0928b92b7f383638f38d108c614a57 100644 (file)
@@ -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):
         """