+ if "unicode" in wx.PlatformInfo:
+ keycode = evt.GetUnicodeKey()
+ if keycode <= 127:
+ keycode = evt.GetKeyCode()
+ keyname = "\"" + unichr(evt.GetUnicodeKey()) + "\""
+ if keycode < 27:
+ keyname = "Ctrl-%s" % chr(ord('A') + keycode-1)
+
+ elif keycode < 256: