LCL: Call OnShow event also for a maximized form. Issue #40043.

This commit is contained in:
Juha 2023-01-01 14:11:46 +02:00
parent abf6ed4748
commit 49c7830b4a

View File

@ -706,7 +706,7 @@ begin
end;
{ call onShow() or onActivate() for the first time,
after first OnResize() and OnChangeBounds() }
if FDelayedOnResize and FDelayedOnChangeBounds then
if (FDelayedOnResize or FDelayedOnChangeBounds) and Visible then
begin
if FIsFirstOnShow then
begin