fix comparison of BYTE variable with -1 after last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-06 00:27:41 +00:00
parent 9d39c3f3aa
commit cf91c9b8c1

View File

@@ -5938,7 +5938,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;
}