Continue fixing silly Windows-related bugs

This commit is contained in:
Chris Pavlina 2016-01-15 21:07:19 -05:00 committed by Chris Pavlina
parent 4391f99a25
commit 165f42daaf
1 changed files with 3 additions and 1 deletions

View File

@ -170,11 +170,13 @@ public:
return;
}
if( key <= 255 && isprint( key ) )
if( key <= 255 && isprint( key ) && !isspace( key ) )
{
// Let EVT_CHAR handle this one
aEvent.DoAllowNextEvent();
#ifndef __WXMSW__
aEvent.Skip();
#endif
}
else
{