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

(cherry picked from commit 49c7830b4a)
This commit is contained in:
Juha 2023-01-01 14:11:46 +02:00 committed by Maxim Ganetsky
parent c2a150431d
commit f65827c58b

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