projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more standard (although less RFC-conformant) treatment of file: URIs (patch 1415189)
[wxWidgets.git]
/
wxPython
/
demo
/
KeyEvents.py
diff --git
a/wxPython/demo/KeyEvents.py
b/wxPython/demo/KeyEvents.py
index 71acdf2294801ff9d8b2be85fd775b07d1e55f84..1b55200099f4311e28d9c1ab652a585fe341a36f 100644
(file)
--- a/
wxPython/demo/KeyEvents.py
+++ b/
wxPython/demo/KeyEvents.py
@@
-231,6
+231,8
@@
class KeyLog(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin):
if keycode <= 127:
keycode = evt.GetKeyCode()
keyname = "\"" + unichr(evt.GetUnicodeKey()) + "\""
+ if keycode < 27:
+ keyname = "Ctrl-%s" % chr(ord('A') + keycode-1)
elif keycode < 256:
if keycode == 0: