// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
wxAcceleratorRefData::wxAcceleratorRefData()
{
- m_ok = FALSE;
+ m_ok = false;
m_hAccel = 0;
}
M_ACCELDATA->m_ok = (hAccel != 0);
}
-extern int wxCharCodeWXToMSW(int id, bool *isVirtual);
+extern WXWORD wxCharCodeWXToMSW(int id, bool *isVirtual);
// Create from an array
wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[])
arr[i].fVirt = fVirt;
arr[i].key = key;
- arr[i].cmd = entries[i].GetCommand();
+ arr[i].cmd = (WORD)entries[i].GetCommand();
}
M_ACCELDATA->m_hAccel = ::CreateAcceleratorTable(arr, n);