user32: Make the excessive scroll test pass under Windows.
This commit is contained in:
parent
5365ce15e4
commit
7f7d858596
|
@ -2991,13 +2991,14 @@ static void test_scrollvalidate( HWND parent)
|
|||
CombineRgn( exprgn, exprgn, tmprgn, RGN_OR);
|
||||
ok( EqualRgn( exprgn, hrgn), "wrong update region\n");
|
||||
|
||||
/* clear an update region */
|
||||
UpdateWindow( hwnd1 );
|
||||
|
||||
SetRect( &rc, 0,40, 100,60);
|
||||
SetRect( &cliprc, 0,0, 100,100);
|
||||
ScrollWindowEx( hwnd1, 0, -25, &rc, &cliprc, hrgn, &rcu, SW_INVALIDATE);
|
||||
SetRectRgn( tmprgn, 0,15,98,35);
|
||||
CombineRgn( exprgn, exprgn, tmprgn, RGN_OR);
|
||||
SetRectRgn( tmprgn, 0, 40, 98, 60);
|
||||
CombineRgn( exprgn, exprgn, tmprgn, RGN_OR);
|
||||
if (winetest_debug > 0) dump_region( hrgn );
|
||||
SetRectRgn( exprgn, 0, 40, 98, 60 );
|
||||
ok( EqualRgn( exprgn, hrgn), "wrong update region in excessive scroll\n");
|
||||
|
||||
/* now test ScrollWindowEx with a combination of
|
||||
|
|
Loading…
Reference in New Issue