user32: Fix maxPosition of thick child windows.
This commit is contained in:
parent
dc1a7113b5
commit
ce119daf3e
|
@ -5321,7 +5321,6 @@ static LRESULT WINAPI test_thick_child_size_winproc(HWND hwnd, UINT msg, WPARAM
|
|||
expectedPosY = rect.top;
|
||||
actualPosX = minmax->ptMaxPosition.x;
|
||||
actualPosY = minmax->ptMaxPosition.y;
|
||||
todo_wine
|
||||
ok(actualPosX == expectedPosX && actualPosY == expectedPosY,
|
||||
"expected maxPosition (%d/%d), actual maxPosition (%d/%d) for %s\n",
|
||||
expectedPosX, expectedPosY, actualPosX, actualPosY, test_thick_child_name);
|
||||
|
|
|
@ -682,8 +682,8 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
|
|||
MinMax.ptMinTrackSize.y = GetSystemMetrics(SM_CYMINTRACK);
|
||||
MinMax.ptMaxTrackSize.x = GetSystemMetrics(SM_CXMAXTRACK);
|
||||
MinMax.ptMaxTrackSize.y = GetSystemMetrics(SM_CYMAXTRACK);
|
||||
|
||||
xinc = yinc = 0;
|
||||
xinc = -rc.left;
|
||||
yinc = -rc.top;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue