Commit 1c70de2a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

user32/tests: ValidateRect(NULL, &rect) on >= Win 8 no longer invalidates all windows.

parent f41db1a1
...@@ -6709,7 +6709,8 @@ static void test_paint_messages(void) ...@@ -6709,7 +6709,8 @@ static void test_paint_messages(void)
*/ */
trace("testing ValidateRect(0, NULL)\n"); trace("testing ValidateRect(0, NULL)\n");
SetRectEmpty( &rect ); 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 ); check_update_rgn( hwnd, hrgn );
ok_sequence( WmInvalidateErase, "InvalidateErase", FALSE ); ok_sequence( WmInvalidateErase, "InvalidateErase", FALSE );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment