Only measure child rectangles of visible children when deciding about
scroll bars.
This commit is contained in:
parent
5328782d88
commit
31eaee4539
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue