mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 03:09:39 +01:00
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:
parent
f37b868f3a
commit
b11b6f938a
@ -517,6 +517,9 @@ var
|
|||||||
begin
|
begin
|
||||||
// Some changes don't require RecreateWnd
|
// Some changes don't require RecreateWnd
|
||||||
|
|
||||||
|
if (AOldFormStyle in fsAllStayOnTop) and (AFormStyle in fsAllStayOnTop) then
|
||||||
|
Exit;
|
||||||
|
|
||||||
// From normal to StayOnTop
|
// From normal to StayOnTop
|
||||||
if (AOldFormStyle = fsNormal) and (AFormStyle in fsAllStayOnTop) then
|
if (AOldFormStyle = fsNormal) and (AFormStyle in fsAllStayOnTop) then
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user