From d8be1ea3e0dbbca1deecfe64f818ff4e383fe135 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Mon, 24 Aug 2015 09:33:54 -0500 Subject: [PATCH] Allow Unicode characters to be used in accelerators --- src/commands/Keyboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/Keyboard.cpp b/src/commands/Keyboard.cpp index b9e1620a5..194e2a138 100644 --- a/src/commands/Keyboard.cpp +++ b/src/commands/Keyboard.cpp @@ -77,7 +77,7 @@ wxString KeyEventToKeyString(const wxKeyEvent & event) if (event.RawControlDown() && key >= 1 && key <= 26) newStr += (wxChar)(64 + key); - else if (key >= 33 && key <= 126) + else if (key >= 33 && key <= 255 && key != 127) newStr += (wxChar)key; else {