mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 16:52:33 +02:00
win32 interface: fixed scrolling direction in a scrolledwincontrol (bug #8099)
git-svn-id: trunk@10424 -
This commit is contained in:
parent
deb7971754
commit
17abe3d37e
@ -167,7 +167,7 @@ var
|
||||
begin
|
||||
lVisible := AWinControl.HandleAllocated and Windows.IsWindowVisible(AWinControl.Handle);
|
||||
if lVisible then
|
||||
ScrollWindowPtr(AWinControl.Handle, DeltaX, DeltaY, nil, nil);
|
||||
ScrollWindowPtr(AWinControl.Handle, -DeltaX, -DeltaY, nil, nil);
|
||||
end;
|
||||
|
||||
{ TWin32WSCustomForm }
|
||||
|
Loading…
Reference in New Issue
Block a user