LCL: do not move maximized form due to Form.Position

git-svn-id: trunk@39873 -
This commit is contained in:
mattias 2013-01-17 11:33:34 +00:00
parent 472a8172e5
commit d1e9068de2

View File

@ -1271,6 +1271,8 @@ var
begin
if (Parent <> nil) or (ParentWindow <> 0) then exit;
if not (WindowState in [wsNormal,wsMinimized]) then exit;
// first make sure X and Y are assigned
X := Left;
Y := Top;