X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..a5bb451448bc5abdadd4ded3f3bc18dbbf07fedd:/src/generic/accel.cpp diff --git a/src/generic/accel.cpp b/src/generic/accel.cpp index 29893831fe..15054cb158 100644 --- a/src/generic/accel.cpp +++ b/src/generic/accel.cpp @@ -94,8 +94,8 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[] const wxAcceleratorEntry& entry = entries[i]; int keycode = entry.GetKeyCode(); - if ( isascii(keycode) ) - keycode = toupper(keycode); + if ( wxIsascii(keycode) ) + keycode = wxToupper(keycode); M_ACCELDATA->m_accels.Append(new wxAcceleratorEntry(entry.GetFlags(), keycode,