mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 05:07:56 +02:00
Carbon: Complete the issue #29972. Patch from AlexeyT.
git-svn-id: trunk@54571 -
This commit is contained in:
parent
04cdeee412
commit
d78cefe1d1
@ -245,8 +245,12 @@ const
|
||||
Msg^.Y := MousePoint.Y;
|
||||
Msg^.State := GetCarbonShiftState;
|
||||
Msg^.WheelDelta := GetMouseWheelDelta;
|
||||
|
||||
// ssHyper id in TShiftStateEnum is not used in LCL (almost, only n lines in gtk/gtk2, they not needed).
|
||||
// Key "Hyper" was on non usual weird keyboard (for sci-fi film?)
|
||||
// Lets use this id
|
||||
if GetMouseWheelAxisHorz then
|
||||
Include(Msg^.State, ssExtra1);
|
||||
Include(Msg^.State, ssHyper);
|
||||
end;
|
||||
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user