// Author: Julian Smart
// Modified by:
// Created: 17/09/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxAcceleratorRefData::~wxAcceleratorRefData()
{
- delete[] m_entries;
- m_entries = NULL;
+ wxDELETEA(m_entries);
m_count = 0;
}
bool accShiftDown = ((GetFlags() & wxACCEL_SHIFT) == wxACCEL_SHIFT);
int accKeyCode = GetKeyCode();
int accKeyCode2 = GetKeyCode();
- if (isascii(accKeyCode2))
- accKeyCode2 = tolower(accKeyCode2);
+ if (wxIsascii(accKeyCode2))
+ accKeyCode2 = wxTolower(accKeyCode2);
return ((eventAltDown == accAltDown) && (eventCtrlDown == accCtrlDown) &&
(eventShiftDown == accShiftDown) &&