}
}
- if ( current.empty() ) {
+ if ( current.IsEmpty() ) {
wxLogDebug(wxT("No accel key found, accel string ignored."));
}
else {
{
wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),
current.c_str());
+ return NULL;
}
}
}
// we should process them here
default:
- if ( wxIsalnum((wxChar)code) )
+ if ( wxIsalnum(code) )
{
text << (wxChar)code;