Carbon: Complete the issue #29972. Patch from AlexeyT.

git-svn-id: trunk@54571 -
This commit is contained in:
juha 2017-04-08 09:22:39 +00:00
parent 04cdeee412
commit d78cefe1d1

View File

@ -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