mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 01:36:16 +02:00
LCL: TCustomFrame.SetParent; check if something changed
git-svn-id: trunk@25807 -
This commit is contained in:
parent
38bc8a1545
commit
d2e198ddc2
@ -123,6 +123,7 @@ procedure TCustomFrame.SetParent(AParent: TWinControl);
|
||||
end;
|
||||
|
||||
begin
|
||||
if Parent=AParent then exit;
|
||||
if Parent<>nil then
|
||||
UpdateActionLists(Self,opRemove);
|
||||
if (Parent=nil) and HandleAllocated then
|
||||
|
Loading…
Reference in New Issue
Block a user