mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 14:58:13 +02:00
lcl: fixed TWinControl.GetClientRect wcfBoundsRealized, issue #40052
This commit is contained in:
parent
f87fe0303d
commit
1b9e56b56c
@ -4050,7 +4050,7 @@ begin
|
||||
or (Height<>InterfaceHeight) then
|
||||
begin
|
||||
// the LCL is not in sync with the interface
|
||||
if wcfBoundsRealized in FWinControlFlags then
|
||||
if not (wcfBoundsRealized in FWinControlFlags) then
|
||||
begin
|
||||
// no bounds were sent yet to the interface and it didn't initialize
|
||||
// them on its own
|
||||
|
Loading…
Reference in New Issue
Block a user