projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor tab drawing improvements
[wxWidgets.git]
/
wxPython
/
demo
/
GridEnterHandler.py
diff --git
a/wxPython/demo/GridEnterHandler.py
b/wxPython/demo/GridEnterHandler.py
index 0b6971b0333a12987153f1246b5d41b85afdaaec..638eac61b57468ecce9bfc30c186e78cd45ceff9 100644
(file)
--- a/
wxPython/demo/GridEnterHandler.py
+++ b/
wxPython/demo/GridEnterHandler.py
@@
-1,7
+1,3
@@
-# 11/6/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
import wx
import wx.grid as gridlib
@@
-24,7
+20,7
@@
class NewEnterHandlingGrid(gridlib.Grid):
def OnKeyDown(self, evt):
- if evt.KeyCode() != wx.WXK_RETURN:
+ if evt.
Get
KeyCode() != wx.WXK_RETURN:
evt.Skip()
return