fix comparison of BYTE variable with -1 after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3b118eda4e
commit
6e3e6c8efb
@ -6101,7 +6101,7 @@ WXWORD wxCharCodeWXToMSW(int wxk, bool *isVirtual)
|
||||
default:
|
||||
// check to see if its one of the OEM key codes.
|
||||
BYTE vks = LOBYTE(VkKeyScan(wxk));
|
||||
if ( vks != -1 )
|
||||
if ( vks != 0xff )
|
||||
{
|
||||
vk = vks;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user