From c5eb377a58470fc1822e832d5c1c5d569a3a757c Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 30 Jul 2007 04:03:00 +0000 Subject: [PATCH] use NtUserInvalidateRect and NtUserInvalidateRgn in user32. Should be redirected directly in.def file, but it breaks a lot of references, so currently only calling it. svn path=/trunk/; revision=28036 --- reactos/dll/win32/user32/windows/paint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/user32/windows/paint.c b/reactos/dll/win32/user32/windows/paint.c index d4507d11460..68c46d3f27d 100644 --- a/reactos/dll/win32/user32/windows/paint.c +++ b/reactos/dll/win32/user32/windows/paint.c @@ -157,7 +157,7 @@ InvalidateRect( CONST RECT *lpRect, BOOL bErase) { - return RedrawWindow( hWnd, lpRect, 0, RDW_INVALIDATE | (bErase ? RDW_ERASE : 0) ); + return NtUserInvalidateRect(hWnd, lpRect, bErase); } @@ -171,7 +171,7 @@ InvalidateRgn( HRGN hRgn, BOOL bErase) { - return RedrawWindow(hWnd, NULL, hRgn, RDW_INVALIDATE | (bErase ? RDW_ERASE : 0) ); + return NtUserInvalidateRgn(hWnd, hRgn, bErase); }