int flags = GetFlags();
if ( flags & wxACCEL_ALT )
text += _("Alt+");
- if ( flags & (wxACCEL_CTRL | wxACCEL_CMD) )
+ if ( flags & wxACCEL_CTRL )
text += _("Ctrl+");
if ( flags & wxACCEL_SHIFT )
text += _("Shift+");
// build as they're only defined for the ASCII range (or EOF)
wxIsascii(code) &&
#endif // ANSI
- wxIsalnum(code) )
+ wxIsprint(code) )
{
text << (wxChar)code;
}