]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridEnterHandler.py
Undid last commit and restored bool argument to wxFrame::DoGiveHelp() as
[wxWidgets.git] / wxPython / demo / GridEnterHandler.py
index bdcd8ccb7d8e392930f5f35de52430e8a09a7bcf..638eac61b57468ecce9bfc30c186e78cd45ceff9 100644 (file)
@@ -20,7 +20,7 @@ class NewEnterHandlingGrid(gridlib.Grid):
 
 
     def OnKeyDown(self, evt):
-        if evt.KeyCode() != wx.WXK_RETURN:
+        if evt.GetKeyCode() != wx.WXK_RETURN:
             evt.Skip()
             return