//
// as accels can be either translated or not, check for both possibilities and
// also compare case-insensitively as the key names case doesn't count
//
// as accels can be either translated or not, check for both possibilities and
// also compare case-insensitively as the key names case doesn't count
//
// first and last parameter specify the valid domain for "number" part
static int IsNumberedAccelKey(const wxString& str,
//
// first and last parameter specify the valid domain for "number" part
static int IsNumberedAccelKey(const wxString& str,
{
// this must be a mistake, chances that this is a valid name of another
// key are vanishingly small
{
// this must be a mistake, chances that this is a valid name of another
// key are vanishingly small
// check for accelerators: they are given after '\t'
int posTab = label.Find(wxT('\t'));
if ( posTab == wxNOT_FOUND )
// check for accelerators: they are given after '\t'
int posTab = label.Find(wxT('\t'));
if ( posTab == wxNOT_FOUND )