From 85e8f8b7a034c2ba31cec4bf606401730507e04c Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 28 Mar 2011 07:19:40 +0000 Subject: [PATCH] win32: remove unneeded condition git-svn-id: trunk@30047 - --- lcl/interfaces/win32/win32callback.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/interfaces/win32/win32callback.inc b/lcl/interfaces/win32/win32callback.inc index dfb7520db6..49ac674c62 100644 --- a/lcl/interfaces/win32/win32callback.inc +++ b/lcl/interfaces/win32/win32callback.inc @@ -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