LCL: TCustomFrame.SetParent; check if something changed

git-svn-id: trunk@25807 -
This commit is contained in:
mattias 2010-05-31 19:23:56 +00:00
parent 38bc8a1545
commit d2e198ddc2

View File

@ -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