mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:39:18 +02:00
LCL: fixed TWinControl.SetChildZPosition, WS must be informed about change of order in any case. issue #40450
This commit is contained in:
parent
2a339f8cb1
commit
853461fed6
@ -4225,8 +4225,7 @@ begin
|
|||||||
if NewPos >= FControls.Count then
|
if NewPos >= FControls.Count then
|
||||||
NewPos := FControls.Count - 1;
|
NewPos := FControls.Count - 1;
|
||||||
|
|
||||||
if NewPos = OldPos then Exit;
|
if NewPos <> OldPos then
|
||||||
|
|
||||||
FControls.Move(OldPos, NewPos);
|
FControls.Move(OldPos, NewPos);
|
||||||
|
|
||||||
if IsWinControl then
|
if IsWinControl then
|
||||||
|
Loading…
Reference in New Issue
Block a user