LCL: Fix TCustomCoolBar.WMSize behavior. Issue #32299, patch from Andrey Zubarev.

git-svn-id: trunk@55708 -
This commit is contained in:
juha 2017-08-19 22:47:39 +00:00
parent 475249d4fa
commit f54d4f2318

View File

@ -1390,9 +1390,7 @@ procedure TCustomCoolBar.WMSize(var Message: TLMSize);
begin
//DebugLn('WMSize');
inherited WMSize(Message);
if not Autosize then begin
CalculateAndAlign;
Invalidate; //required by GTK2
end;
CalculateAndAlign;
Invalidate; //required by GTK2 and WINDOWS
end;