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.
This commit is contained in:
Armel Asselin
2015-11-30 22:23:50 +01:00
committed by Vadim Zeitlin
parent 075ef6551e
commit 271fbce876

View File

@@ -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.