mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 19:00:40 +01:00
lcl: don't set shift state to ssMiddle when handling a wheel mouse message (issue #7093)
git-svn-id: trunk@9765 -
This commit is contained in:
parent
3b96c968c8
commit
c42bbc3a30
@ -4955,9 +4955,6 @@ begin
|
|||||||
MousePos.X := Message.X;
|
MousePos.X := Message.X;
|
||||||
MousePos.Y := Message.Y;
|
MousePos.Y := Message.Y;
|
||||||
|
|
||||||
{ always the middle button }
|
|
||||||
Shift := [ssMiddle];
|
|
||||||
|
|
||||||
if not DoMouseWheel(Shift, Message.WheelDelta, MousePos) then
|
if not DoMouseWheel(Shift, Message.WheelDelta, MousePos) then
|
||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user