mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 02:29:21 +02:00
win32: remove unneeded condition
git-svn-id: trunk@30047 -
This commit is contained in:
parent
8387ee8302
commit
85e8f8b7a0
@ -2255,7 +2255,7 @@ begin
|
|||||||
Msg := LM_MOVE;
|
Msg := LM_MOVE;
|
||||||
// MoveType := WParam; WParam is not defined!
|
// MoveType := WParam; WParam is not defined!
|
||||||
MoveType := Move_SourceIsInterface;
|
MoveType := Move_SourceIsInterface;
|
||||||
if (lWinControl is TCustomForm) and (GetWindowLong(Window, GWL_STYLE) and WS_CHILD = 0) then
|
if GetWindowLong(Window, GWL_STYLE) and WS_CHILD = 0 then
|
||||||
begin
|
begin
|
||||||
WindowPlacement.length := SizeOf(WindowPlacement);
|
WindowPlacement.length := SizeOf(WindowPlacement);
|
||||||
if IsIconic(Window) and GetWindowPlacement(Window, @WindowPlacement) then
|
if IsIconic(Window) and GetWindowPlacement(Window, @WindowPlacement) then
|
||||||
|
Loading…
Reference in New Issue
Block a user