Minor demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user