mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 19:59:37 +02:00
LCL: TWinControl: Fix for WMSize loop on minimizing a autosized form. Issue #30826
git-svn-id: trunk@53721 -
This commit is contained in:
parent
4e1a196334
commit
365e66afe4
@ -7013,7 +7013,8 @@ begin
|
||||
SetBounds(NewLeft, NewTop, Message.Width, Message.Height);
|
||||
//if CheckPosition(Self) then
|
||||
//debugln(['TWinControl.WMSize ',DbgSName(Self),' ClientRectNeedsInterfaceUpdate=',ClientRectNeedsInterfaceUpdate]);
|
||||
if ((Message.SizeType and Size_SourceIsInterface) > 0) and ClientRectNeedsInterfaceUpdate then
|
||||
if ((Message.SizeType and Size_SourceIsInterface) > 0) and ((Message.SizeType and SIZE_MINIMIZED) = 0)
|
||||
and ClientRectNeedsInterfaceUpdate then
|
||||
DoAdjustClientRectChange;
|
||||
{$IFDEF VerboseClientRectBugFix}
|
||||
{$IFDEF CHECK_POSITION}
|
||||
|
Loading…
Reference in New Issue
Block a user