Use WXK_DELETE as Unicode key code for VK_DELETE in wxMSW.
U+007F is a Unicode character so we should set Unicode key code to this value for VK_DELETE presses. This also makes wxMSW consistent with wxGTK. Closes #3458. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6309,6 +6309,9 @@ int VKToWX(WXWORD vk, WXLPARAM lParam, wchar_t *uc)
|
||||
|
||||
case VK_DELETE:
|
||||
wxk = ChooseNormalOrExtended(lParam, WXK_NUMPAD_DELETE, WXK_DELETE);
|
||||
|
||||
if ( uc )
|
||||
*uc = WXK_DELETE;
|
||||
break;
|
||||
|
||||
case VK_RETURN:
|
||||
|
Reference in New Issue
Block a user