Skip to content
Snippets Groups Projects
Commit 31eaee45 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard
Browse files

Only measure child rectangles of visible children when deciding about

scroll bars.
parent 5328782d
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment