]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/controls2.py
don't log mouse events by default
[wxWidgets.git] / wxPython / src / msw / controls2.py
index b9c67e124c529056b310958479150a4a0e99c330..0a83b3438f913842b5d2934d2bf7fd2246c7fd91 100644 (file)
@@ -838,6 +838,10 @@ class wxTreeEventPtr(wxNotifyEventPtr):
         val = apply(controls2c.wxTreeEvent_GetPoint,(self,) + _args, _kwargs)
         if val: val = wxPointPtr(val) ; val.thisown = 1
         return val
+    def GetKeyEvent(self, *_args, **_kwargs):
+        val = apply(controls2c.wxTreeEvent_GetKeyEvent,(self,) + _args, _kwargs)
+        if val: val = wxKeyEventPtr(val) 
+        return val
     def GetCode(self, *_args, **_kwargs):
         val = apply(controls2c.wxTreeEvent_GetCode,(self,) + _args, _kwargs)
         return val