- ((m_validatorStyle & wxFILTER_ALPHA) && !isalpha(keyCode)) ||
- ((m_validatorStyle & wxFILTER_ALPHANUMERIC) && !isalnum(keyCode)) ||
- ((m_validatorStyle & wxFILTER_NUMERIC) && !isdigit(keyCode)
- && keyCode != '.' && keyCode != '-')
+ ((m_validatorStyle & wxFILTER_ALPHA) && !wxIsalpha(keyCode)) ||
+ ((m_validatorStyle & wxFILTER_ALPHANUMERIC) && !wxIsalnum(keyCode)) ||
+ ((m_validatorStyle & wxFILTER_NUMERIC) && !wxIsdigit(keyCode)
+ && keyCode != '.' && keyCode != ',' && keyCode != '-')