X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..9386cb75e34acb49cd9fac945e09cf002f22db2d:/src/generic/accel.cpp diff --git a/src/generic/accel.cpp b/src/generic/accel.cpp index a3f789b3cd..65f0fa94f2 100644 --- a/src/generic/accel.cpp +++ b/src/generic/accel.cpp @@ -5,7 +5,7 @@ // Modified: VZ pn 31.05.01: use typed lists, Unicode cleanup, Add/Remove // Id: $Id$ // Copyright: (c) 1998 Robert Roebling -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -97,9 +97,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[] { const wxAcceleratorEntry& entry = entries[i]; - int keycode = entry.GetKeyCode(); - if ( wxIslower(keycode) ) - keycode = wxToupper(keycode); + int keycode = wxToupper(entry.GetKeyCode()); M_ACCELDATA->m_accels.Append(new wxAcceleratorEntry(entry.GetFlags(), keycode,