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:
committed by
Vadim Zeitlin
parent
075ef6551e
commit
271fbce876
@@ -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.
|
||||
|
Reference in New Issue
Block a user