mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:39:36 +02:00
Apply changes of commit 50994 #b62ac13515 to WinCE
git-svn-id: trunk@51010 -
This commit is contained in:
parent
fc5f053bc6
commit
117af4aac8
@ -453,7 +453,7 @@ end;
|
||||
class procedure TWinCEWSWinControl.ScrollBy(const AWinControl: TWinControl;
|
||||
DeltaX, DeltaY: integer);
|
||||
begin
|
||||
if Windows.IsWindowVisible(AWinControl.Handle) then
|
||||
if AWinControl.HandleAllocated then
|
||||
ScrollWindowEx(AWinControl.Handle, DeltaX, DeltaY, nil, nil, 0, nil,
|
||||
SW_INVALIDATE or SW_ERASE or SW_SCROLLCHILDREN);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user