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:
Vadim Zeitlin 2008-01-06 00:27:41 +00:00
parent 3b118eda4e
commit 6e3e6c8efb

View File

@ -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;
}