mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 18:49:30 +02:00
win32: remove unnecessary check for nil in EnumStayOnTopRemove. lWinControl is TCustomForm will return false anyway
git-svn-id: trunk@30342 -
This commit is contained in:
parent
876b12fea5
commit
33183a009f
@ -843,8 +843,7 @@ begin
|
|||||||
if Assigned(lWindowInfo) then
|
if Assigned(lWindowInfo) then
|
||||||
begin
|
begin
|
||||||
lWinControl := lWindowInfo^.WinControl;
|
lWinControl := lWindowInfo^.WinControl;
|
||||||
if Assigned(lWinControl) and
|
if (lWinControl is TCustomForm) and
|
||||||
(lWinControl is TCustomForm) and
|
|
||||||
(TCustomForm(lWinControl).FormStyle = fsSystemStayOnTop) then
|
(TCustomForm(lWinControl).FormStyle = fsSystemStayOnTop) then
|
||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user