mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 19:27:17 +00:00
Scroll off-screen controls when scroll rectangle is NULL.
This commit is contained in:
parent
da2cd4d070
commit
fc63491d6c
|
@ -318,7 +318,7 @@ rc.left, rc.top, rc.right, rc.bottom, (UINT16)flags );
|
|||
for( w =WIN_LockWndPtr(wnd->child); w; WIN_UpdateWndPtr(&w, w->next))
|
||||
{
|
||||
CONV_RECT16TO32( &w->rectWindow, &r );
|
||||
if( IntersectRect(&r, &r, &rc) )
|
||||
if( !rect || IntersectRect(&r, &r, &rc) )
|
||||
SetWindowPos(w->hwndSelf, 0, w->rectWindow.left + dx,
|
||||
w->rectWindow.top + dy, 0,0, SWP_NOZORDER |
|
||||
SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOREDRAW |
|
||||
|
|
Loading…
Reference in a new issue