LCL controls: fixed range error

git-svn-id: trunk@16750 -
This commit is contained in:
tombo 2008-09-26 09:49:16 +00:00
parent a9226082e6
commit e4b2b66e7e

View File

@ -3200,7 +3200,7 @@ begin
UpdateMouseCursor(Message.XPos,Message.YPos);
if not (csNoStdEvents in ControlStyle)
then with Message do
MouseMove(KeystoShiftState(Keys), XPos, YPos);
MouseMove(KeystoShiftState(Word(Keys)), XPos, YPos);
end;
{------------------------------------------------------------------------------