// Purpose: generic implementation of wxAcceleratorTable class
// Author: Robert Roebling
// Modified: VZ pn 31.05.01: use typed lists, Unicode cleanup, Add/Remove
-// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
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;