1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Allow Unicode characters to be used in accelerators

This commit is contained in:
Leland Lucius 2015-08-24 09:33:54 -05:00
parent b8dc019146
commit d8be1ea3e0

View File

@ -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
{