Attempt to display the unicode character if running a unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b843b628c9
commit
33a84aceab
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user