X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17a1ebd101f0653e69736416a2a28d0ada423141..3952889a9022dfa7ae4fa635b5f267fe13016d48:/src/generic/accel.cpp diff --git a/src/generic/accel.cpp b/src/generic/accel.cpp index b9a49a85e6..e19d33c09f 100644 --- a/src/generic/accel.cpp +++ b/src/generic/accel.cpp @@ -93,7 +93,9 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[] { const wxAcceleratorEntry& entry = entries[i]; - int keycode = wxToupper(entry.GetKeyCode()); + int keycode = entry.GetKeyCode(); + if ( isascii(keycode) ) + keycode = toupper(keycode); M_ACCELDATA->m_accels.Append(new wxAcceleratorEntry(entry.GetFlags(), keycode,