user32/tests: ValidateRect(NULL, &rect) on >= Win 8 no longer invalidates all windows.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f41db1a163
commit
1c70de2a34
|
@ -6709,7 +6709,8 @@ static void test_paint_messages(void)
|
|||
*/
|
||||
trace("testing ValidateRect(0, NULL)\n");
|
||||
SetRectEmpty( &rect );
|
||||
if (ValidateRect(0, &rect)) /* not supported on Win9x */
|
||||
if (ValidateRect(0, &rect) && /* not supported on Win9x */
|
||||
GetUpdateRect(hwnd, NULL, FALSE)) /* or >= Win 8 */
|
||||
{
|
||||
check_update_rgn( hwnd, hrgn );
|
||||
ok_sequence( WmInvalidateErase, "InvalidateErase", FALSE );
|
||||
|
|
Loading…
Reference in New Issue