From 271fbce8765dd3c9ac7de41a144a10a8e8df4f55 Mon Sep 17 00:00:00 2001 From: Armel Asselin Date: Mon, 30 Nov 2015 22:23:50 +0100 Subject: [PATCH] Handle VK_OEM_8 key in wxMSW too This key is not present on all keyboards but we do need to handle on those where it is used. Closes #17272. --- src/msw/window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 4d5e1c704b..0ac0ed0042 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -3003,6 +3003,7 @@ wxWindowMSW::MSWHandleMessage(WXLRESULT *result, case VK_OEM_5: case VK_OEM_6: case VK_OEM_7: + case VK_OEM_8: case VK_OEM_102: case VK_OEM_PLUS: case VK_OEM_COMMA: @@ -6045,6 +6046,7 @@ int VKToWX(WXWORD vk, WXLPARAM lParam, wchar_t *uc) case VK_OEM_5: case VK_OEM_6: case VK_OEM_7: + case VK_OEM_8: case VK_OEM_102: // MapVirtualKey() returns 0 if it fails to convert the virtual // key which nicely corresponds to our WXK_NONE.