user32: Removed code without effect.
This commit is contained in:
parent
8784702d1f
commit
4487f85e58
|
@ -676,9 +676,6 @@ void WINPOS_GetMinMaxInfo( HWND hwnd, POINT *maxSize, POINT *maxPos,
|
|||
GetClientRect(GetAncestor(hwnd,GA_PARENT), &rc);
|
||||
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.y = rc.bottom - rc.top;
|
||||
MinMax.ptMinTrackSize.x = GetSystemMetrics(SM_CXMINTRACK);
|
||||
|
|
Loading…
Reference in New Issue