projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Typo and whitespace tweaks
[wxWidgets.git]
/
wxPython
/
demo
/
Validator.py
diff --git
a/wxPython/demo/Validator.py
b/wxPython/demo/Validator.py
index 31dd044967e0243b81aaf10bd6d126db150fe8d1..0b83c95595ca323423c8afdd519bc567b8b0712c 100644
(file)
--- a/
wxPython/demo/Validator.py
+++ b/
wxPython/demo/Validator.py
@@
-34,7
+34,7
@@
class MyValidator(wx.PyValidator):
def OnChar(self, event):
- key = event.KeyCode()
+ key = event.
Get
KeyCode()
if key < wx.WXK_SPACE or key == wx.WXK_DELETE or key > 255:
event.Skip()