diff --git a/wxPython/demo/KeyEvents.py b/wxPython/demo/KeyEvents.py index 36eb764fa6..180dd59001 100644 --- a/wxPython/demo/KeyEvents.py +++ b/wxPython/demo/KeyEvents.py @@ -234,6 +234,8 @@ class KeyLog(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin): keyname = "Ctrl-%s" % chr(ord('A') + keycode-1) else: keyname = "\"%s\"" % chr(keycode) + elif "unicode" in wx.PlatformInfo: + keyname = "\"" + unichr(keycode) + "\"" else: keyname = "unknown (%s)" % keycode