mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 08:09:26 +02:00
LCL-GTK2: Prevent an occational freeze. The removed line may be needed for old GTK2 or GTK1. By Denis Golovan.
git-svn-id: trunk@54305 -
This commit is contained in:
parent
134d8be1e9
commit
491d57ecbc
@ -6509,7 +6509,6 @@ var
|
||||
LCLHeight:=LCLControl.Height;
|
||||
WidthHeightChanged:=(LCLWidth<>GtkWidth) or (LCLHeight<>GtkHeight);
|
||||
if LCLControl.ClientRectNeedsInterfaceUpdate then begin
|
||||
WidthHeightChanged:=true;
|
||||
//DebugLn(['UpdateLCLSize InvalidateClientRectCache ',DbgSName(LCLControl)]);
|
||||
LCLControl.InvalidateClientRectCache(false);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user