mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 12:19:15 +02:00
LCL: fix mouse wheel scrolling when cursor is in TControl on Windows. Issue #29097
git-svn-id: trunk@50528 -
This commit is contained in:
parent
916bee86f8
commit
5b5452bed2
@ -4706,11 +4706,14 @@ begin
|
||||
MouseEventMessage.Y := P.Y;
|
||||
Control.Dispatch(MouseEventMessage);
|
||||
MouseMessage.Result := MouseEventMessage.Result;
|
||||
Result := (MouseMessage.Result <> 0);
|
||||
end
|
||||
else
|
||||
begin
|
||||
MouseMessage.Result := Control.Perform(MouseMessage.Msg, WParam(MouseMessage.Keys),
|
||||
LParam(Integer(PointToSmallPoint(P))));
|
||||
Result := True;
|
||||
Result := True;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user