Commit 31eaee45 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

Only measure child rectangles of visible children when deciding about

scroll bars.
parent 5328782d
......@@ -2243,7 +2243,8 @@ void WINAPI CalcChildScroll( HWND hwnd, INT scroll )
WIN_ReleaseWndPtr(Wnd);
return;
}
UnionRect( &childRect, &pWnd->rectWindow, &childRect );
if( pWnd->dwStyle & WS_VISIBLE )
UnionRect( &childRect, &pWnd->rectWindow, &childRect );
}
WIN_ReleaseWndPtr(pWnd);
UnionRect( &childRect, &clientRect, &childRect );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment