user32: Removed code without effect.

This commit is contained in:
Florian Köberle 2009-01-20 13:52:39 +01:00 committed by Alexandre Julliard
parent 8784702d1f
commit 4487f85e58
1 changed files with 0 additions and 3 deletions

View File

@ -676,9 +676,6 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
GetClientRect(GetAncestor(hwnd,GA_PARENT), &rc); GetClientRect(GetAncestor(hwnd,GA_PARENT), &rc);
AdjustWindowRectEx(&rc, style, ((style & WS_POPUP) && GetMenu(hwnd)), exstyle); AdjustWindowRectEx(&rc, style, ((style & WS_POPUP) && GetMenu(hwnd)), exstyle);
/* avoid calculating this twice */
style &= ~(WS_DLGFRAME | WS_BORDER | WS_THICKFRAME);
MinMax.ptMaxSize.x = rc.right - rc.left; MinMax.ptMaxSize.x = rc.right - rc.left;
MinMax.ptMaxSize.y = rc.bottom - rc.top; MinMax.ptMaxSize.y = rc.bottom - rc.top;
MinMax.ptMinTrackSize.x = GetSystemMetrics(SM_CXMINTRACK); MinMax.ptMinTrackSize.x = GetSystemMetrics(SM_CXMINTRACK);