]> 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 a3f789b3cd96b06d1a072925985ab6e591176541..65f0fa94f2351b6f4593c8b4961960a27761c3a4 100644 (file)
@@ -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,