| commit | 31eaee453957572d805ac2e648a7faa22477e98a | [log] [tgz] |
|---|---|---|
| author | Bill Medland <medbi01@accpac.com> | Wed May 16 20:06:20 2001 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Wed May 16 20:06:20 2001 +0000 |
| tree | f9f94d36b5c1f326bda6c1d437dd8b49a3e6bdce | |
| parent | 5328782d882f6e1229eb1160229931c999307f15 [diff] |
Only measure child rectangles of visible children when deciding about scroll bars.
diff --git a/windows/mdi.c b/windows/mdi.c index 9f4bddb..07cd19c 100644 --- a/windows/mdi.c +++ b/windows/mdi.c
@@ -2243,7 +2243,8 @@ 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 );