Fixes compiling

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2099 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat
2011-10-28 03:54:17 +00:00
parent c1e7914dbd
commit 9bbc3015a2

View File

@ -15120,14 +15120,11 @@ var
ScrollLines: DWORD;
RTLFactor: Integer;
WheelFactor: Double;
State: TShiftState;
begin
//todo: rename to WM*
{$ifdef DEBUG_VTV}Logger.EnterMethod([lcScroll],'CMMouseWheel');{$endif}
StopWheelPanning;
State := KeysToShiftState(Message.Button);
inherited WMMouseWheel(Message);
if Message.Result = 0 then