WX_DECLARE_LIST(wxAcceleratorEntry, wxAccelList);
#include "wx/listimpl.cpp"
-WX_DEFINE_LIST(wxAccelList);
+WX_DEFINE_LIST(wxAccelList)
// ----------------------------------------------------------------------------
// wxAccelRefData: the data used by wxAcceleratorTable
{
const wxAcceleratorEntry& entry = entries[i];
- int keycode = wxToupper(entry.GetKeyCode());
+ int keycode = entry.GetKeyCode();
+ if ( isascii(keycode) )
+ keycode = toupper(keycode);
M_ACCELDATA->m_accels.Append(new wxAcceleratorEntry(entry.GetFlags(),
keycode,