mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 19:47:02 +01: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
|
||||
begin
|
||||
lWinControl := lWindowInfo^.WinControl;
|
||||
if Assigned(lWinControl) and
|
||||
(lWinControl is TCustomForm) and
|
||||
if (lWinControl is TCustomForm) and
|
||||
(TCustomForm(lWinControl).FormStyle = fsSystemStayOnTop) then
|
||||
Exit;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user