Only measure child rectangles of visible children when deciding about
scroll bars.
This commit is contained in:
parent
5328782d88
commit
31eaee4539
windows
|
@ -2243,6 +2243,7 @@ void WINAPI CalcChildScroll( HWND hwnd, INT scroll )
|
||||||
WIN_ReleaseWndPtr(Wnd);
|
WIN_ReleaseWndPtr(Wnd);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if( pWnd->dwStyle & WS_VISIBLE )
|
||||||
UnionRect( &childRect, &pWnd->rectWindow, &childRect );
|
UnionRect( &childRect, &pWnd->rectWindow, &childRect );
|
||||||
}
|
}
|
||||||
WIN_ReleaseWndPtr(pWnd);
|
WIN_ReleaseWndPtr(pWnd);
|
||||||
|
|
Loading…
Reference in New Issue