win32: don't recreate window or perform any action when form style changes from fsStayOnTop to fsSystemStayOnTop and vice versa

git-svn-id: trunk@30229 -
This commit is contained in:
paul 2011-04-07 02:40:45 +00:00
parent f37b868f3a
commit b11b6f938a

View File

@ -517,6 +517,9 @@ var
begin
// Some changes don't require RecreateWnd
if (AOldFormStyle in fsAllStayOnTop) and (AFormStyle in fsAllStayOnTop) then
Exit;
// From normal to StayOnTop
if (AOldFormStyle = fsNormal) and (AFormStyle in fsAllStayOnTop) then
begin