From e77c5d96822bf69003ec6c210b19c3fa1c799c65 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 13 Dec 2004 20:07:45 +0000 Subject: [PATCH] reverted recent VK_OEM_PLUS change, do map it to '+' for now, but added a comment questioning whether this should be done at all git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 76e21be1cc..7bb0d7c97a 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -4971,8 +4971,10 @@ int wxCharCodeMSWToWX(int keySym, WXLPARAM lParam) case VK_NUMLOCK: id = WXK_NUMLOCK; break; case VK_SCROLL: id = WXK_SCROLL; break; + // the mapping for these keys may be incorrect on non-US keyboards so + // maybe we shouldn't map them to ASCII values at all case VK_OEM_1: id = ';'; break; - case VK_OEM_PLUS: id = '='; break; + case VK_OEM_PLUS: id = '+'; break; case VK_OEM_COMMA: id = ','; break; case VK_OEM_MINUS: id = '-'; break; case VK_OEM_PERIOD: id = '.'; break; -- 2.45.2