mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 23:49:28 +02:00
lcl: wincontrol: ignore FBoundsRealized in WM_SIZE. Solves part of issue #31715
git-svn-id: trunk@54815 -
This commit is contained in:
parent
c2b3d7f360
commit
118cfb3d98
@ -6968,10 +6968,6 @@ begin
|
||||
' wcfClientRectNeedsUpdate=',wcfClientRectNeedsUpdate in FWinControlFlags]);
|
||||
{$ENDIF}
|
||||
|
||||
NewLeft := FBoundsRealized.Left;
|
||||
NewTop := FBoundsRealized.Top;
|
||||
if HandleAllocated then
|
||||
GetWindowRelativePosition(Handle, NewLeft, NewTop);
|
||||
//if CheckPosition(Self) then
|
||||
//DebugLn(['TWinControl.WMSize GetWindowRelativePosition: ',DbgSName(Self),' ',NewLeft,',',NewTop,' ClientRectNeedsInterfaceUpdate=',ClientRectNeedsInterfaceUpdate]);
|
||||
NewBoundsRealized := Bounds(NewLeft, NewTop, Message.Width, Message.Height);
|
||||
|
Loading…
Reference in New Issue
Block a user