From 165f42daafdcc58e816d598e14dda6bb0c518a4f Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Fri, 15 Jan 2016 21:07:19 -0500 Subject: [PATCH] Continue fixing silly Windows-related bugs --- common/widgets/widget_hotkey_list.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/widgets/widget_hotkey_list.cpp b/common/widgets/widget_hotkey_list.cpp index 0378e21e26..2d25fb5cab 100644 --- a/common/widgets/widget_hotkey_list.cpp +++ b/common/widgets/widget_hotkey_list.cpp @@ -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 {