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:
juha 2017-02-28 09:20:35 +00:00
parent 134d8be1e9
commit 491d57ecbc

View File

@ -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;