mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
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
This commit is contained in:
parent
3b7f8774ac
commit
c5eb377a58
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue