mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:19:37 +02:00
examples: fix compilation of easy docking example under fpc 2.3.1
git-svn-id: trunk@19904 -
This commit is contained in:
parent
298c34c425
commit
3e9540292e
@ -505,6 +505,7 @@ var
|
||||
var
|
||||
ZoneExtent: TPoint;
|
||||
Acceptable: boolean;
|
||||
ADockRect: TRect;
|
||||
begin
|
||||
(* New DockManager interface, called instead of the old version.
|
||||
Determine exact target (zone) and DropAlign.
|
||||
@ -542,7 +543,10 @@ begin
|
||||
end;
|
||||
//position DockRect
|
||||
if Acceptable then
|
||||
PositionDockRect(Control, DropOnControl, DropAlign, DockRect);
|
||||
begin
|
||||
PositionDockRect(Control, DropOnControl, DropAlign, ADockRect);
|
||||
DockRect := ADockRect;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user