mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 23:59:12 +02:00
anchordocking: use icons from forms
git-svn-id: trunk@26091 -
This commit is contained in:
parent
b971bd845b
commit
40a2dd61bf
@ -2171,6 +2171,9 @@ begin
|
||||
DestRect := ClientRect;
|
||||
NewControl.Dock(Self, DestRect);
|
||||
FSiteType:=adhstOneControl;
|
||||
if NewControl is TCustomForm then begin
|
||||
Icon.Assign(TCustomForm(NewControl).Icon);
|
||||
end;
|
||||
Result:=true;
|
||||
end;
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user