mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-31 19:36:26 +02:00
LCL: fixed allocating child handles
git-svn-id: trunk@25539 -
This commit is contained in:
parent
127ef52c41
commit
225616d66a
@ -3391,13 +3391,13 @@ procedure TWinControl.DoAllAutoSize;
|
||||
AWinControl.HandleNeeded;
|
||||
Exit(True);
|
||||
end;
|
||||
Result := False;
|
||||
for i := 0 to AWinControl.ControlCount - 1 do
|
||||
begin
|
||||
ChildWinControl := TWinControl(AWinControl.Controls[i]);
|
||||
if (ChildWinControl is TWinControl) and CheckHandleAllocated(ChildWinControl) then
|
||||
Exit(True);
|
||||
Result:=true;
|
||||
end;
|
||||
Result := False;
|
||||
end;
|
||||
|
||||
procedure ClearRequests(AControl: TControl);
|
||||
|
Loading…
Reference in New Issue
Block a user