X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2593d0ddae43a3e9054d2e9bb59646e19dffe73..dd107c50be43e8d4dbdba20df162faf119a3781c:/src/gtk1/accel.cpp diff --git a/src/gtk1/accel.cpp b/src/gtk1/accel.cpp index 9b861acb20..f3f9ba6a68 100644 --- a/src/gtk1/accel.cpp +++ b/src/gtk1/accel.cpp @@ -53,7 +53,7 @@ wxAcceleratorTable::wxAcceleratorTable( int n, wxAcceleratorEntry entries[] ) int flag = entries[i].GetFlags(); int keycode = entries[i].GetKeyCode(); int command = entries[i].GetCommand(); - if ((keycode >= (int)'A') && (keycode <= (int)'Z')) keycode = (int)tolower( (char)keycode ); + if ((keycode >= (int)'a') && (keycode <= (int)'z')) keycode = (int)toupper( (char)keycode ); M_ACCELDATA->m_accels.Append( new wxAcceleratorEntry( flag, keycode, command ) ); } }