X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e90c1d2a19361551eb07778280f22be3e759cf64..963a1fcd6e013eef52bf87ed99e19d9ab49563ef:/src/gtk/accel.cpp diff --git a/src/gtk/accel.cpp b/src/gtk/accel.cpp index c398e19e4c..f3f9ba6a68 100644 --- a/src/gtk/accel.cpp +++ b/src/gtk/accel.cpp @@ -24,9 +24,9 @@ class wxAccelRefData: public wxObjectRefData { public: - wxAccelRefData(); + wxAccelRefData(); - wxList m_accels; + wxList m_accels; }; wxAccelRefData::wxAccelRefData() @@ -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 ) ); } }