win32: remove unneeded condition

git-svn-id: trunk@30047 -
This commit is contained in:
paul 2011-03-28 07:19:40 +00:00
parent 8387ee8302
commit 85e8f8b7a0

View File

@ -2255,7 +2255,7 @@ begin
Msg := LM_MOVE;
// MoveType := WParam; WParam is not defined!
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
WindowPlacement.length := SizeOf(WindowPlacement);
if IsIconic(Window) and GetWindowPlacement(Window, @WindowPlacement) then