You've already forked lazarus-ccr
Fixes the compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2097 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -15120,12 +15120,14 @@ var
|
|||||||
ScrollLines: DWORD;
|
ScrollLines: DWORD;
|
||||||
RTLFactor: Integer;
|
RTLFactor: Integer;
|
||||||
WheelFactor: Double;
|
WheelFactor: Double;
|
||||||
|
State: TShiftState;
|
||||||
begin
|
begin
|
||||||
//todo: rename to WM*
|
//todo: rename to WM*
|
||||||
{$ifdef DEBUG_VTV}Logger.EnterMethod([lcScroll],'CMMouseWheel');{$endif}
|
{$ifdef DEBUG_VTV}Logger.EnterMethod([lcScroll],'CMMouseWheel');{$endif}
|
||||||
StopWheelPanning;
|
StopWheelPanning;
|
||||||
|
|
||||||
|
State := KeysToShiftState(Message.Button);
|
||||||
|
|
||||||
inherited WMMouseWheel(Message);
|
inherited WMMouseWheel(Message);
|
||||||
|
|
||||||
if Message.Result = 0 then
|
if Message.Result = 0 then
|
||||||
|
Reference in New Issue
Block a user