mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 18:00:27 +02:00
LCL: Fix TCustomCoolBar.WMSize behavior. Issue #32299, patch from Andrey Zubarev.
git-svn-id: trunk@55708 -
This commit is contained in:
parent
475249d4fa
commit
f54d4f2318
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user