]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/accel.cpp
reverted last commit, still broken for VC6
[wxWidgets.git] / src / generic / accel.cpp
index a50bed3218af14a6dee3ffc239ee58b6a076086e..65f0fa94f2351b6f4593c8b4961960a27761c3a4 100644 (file)
@@ -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,