mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:16:05 +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
|
begin
|
||||||
lVisible := AWinControl.HandleAllocated and Windows.IsWindowVisible(AWinControl.Handle);
|
lVisible := AWinControl.HandleAllocated and Windows.IsWindowVisible(AWinControl.Handle);
|
||||||
if lVisible then
|
if lVisible then
|
||||||
ScrollWindowPtr(AWinControl.Handle, DeltaX, DeltaY, nil, nil);
|
ScrollWindowPtr(AWinControl.Handle, -DeltaX, -DeltaY, nil, nil);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TWin32WSCustomForm }
|
{ TWin32WSCustomForm }
|
||||||
|
Loading…
Reference in New Issue
Block a user