mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 04:58:22 +02:00
lcl: customform: revert r53334 #0a383ad832, issue #31122
git-svn-id: trunk@53716 -
This commit is contained in:
parent
bc7f03b15a
commit
8d6fb55c21
@ -2341,10 +2341,7 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
function TCustomForm.AutoSizeDelayedHandle: Boolean;
|
||||
begin
|
||||
if WindowState=wsMinimized then
|
||||
// this form is minimized => no valid width/height, see bug 30826
|
||||
Result:=true
|
||||
else if (Parent<>nil) or (ParentWindow<>0) then
|
||||
if (Parent<>nil) or (ParentWindow<>0) then
|
||||
// this form is inlined / embedded it works like a normal TWinControl
|
||||
Result:=inherited AutoSizeDelayedHandle
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user