mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 05:19:02 +01:00
lcl: clean hostdocksite
This commit is contained in:
parent
e77066d3af
commit
2dc7c77293
@ -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