git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2496
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxString key;
long keycode = event.KeyCode();
{
wxString key;
long keycode = event.KeyCode();
- if ( isascii((int)keycode) )
+ if ( isprint((int)keycode) )
key.Printf("'%c'", (char)keycode);
else
{
key.Printf("'%c'", (char)keycode);
else
{
case WXK_ESCAPE: key = "ESCAPE"; break;
case WXK_SPACE: key = "SPACE"; break;
case WXK_DELETE: key = "DELETE"; break;
case WXK_ESCAPE: key = "ESCAPE"; break;
case WXK_SPACE: key = "SPACE"; break;
case WXK_DELETE: key = "DELETE"; break;
case WXK_START: key = "START"; break;
case WXK_LBUTTON: key = "LBUTTON"; break;
case WXK_RBUTTON: key = "RBUTTON"; break;
case WXK_START: key = "START"; break;
case WXK_LBUTTON: key = "LBUTTON"; break;
case WXK_RBUTTON: key = "RBUTTON"; break;