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,
const wxAcceleratorEntry *
wxAcceleratorTable::GetEntry(const wxKeyEvent& event) const
{
- if ( !Ok() )
+ if ( !IsOk() )
{
// not an error, the accel table is just empty
return NULL;