mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 08:19:41 +02:00
lcl: clean hostdocksite
This commit is contained in:
parent
161312c68d
commit
6df9d7970b
@ -3555,9 +3555,10 @@ begin
|
||||
begin
|
||||
if AComponent = PopupMenu then
|
||||
PopupMenu := nil
|
||||
else
|
||||
if AComponent = Action then
|
||||
Action := nil;
|
||||
else if AComponent = Action then
|
||||
Action := nil
|
||||
else if AComponent = FHostDockSite then
|
||||
FHostDockSite := nil;
|
||||
//debugln('TControl.Notification A ',DbgSName(Self),' ',DbgSName(AComponent));
|
||||
for Kind := Low(TAnchorKind) to High(TAnchorKind) do
|
||||
begin
|
||||
@ -3573,7 +3574,7 @@ var
|
||||
FloatHost: TWinControl;
|
||||
R: TRect;
|
||||
begin
|
||||
DebugLn(['TControl.DoFloatMsg ',DbgSName(Self),' Floating=',Floating]);
|
||||
//DebugLn(['TControl.DoFloatMsg ',DbgSName(Self),' Floating=',Floating]);
|
||||
if Floating and (Parent <> nil) then
|
||||
begin
|
||||
P := Parent.ClientToScreen(Point(Left, Top));
|
||||
|
Loading…
Reference in New Issue
Block a user