mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
co_WinPosSetWindowPos:
- use IntInvalidateWindows() instead of co_UserRedrawWindows() svn path=/trunk/; revision=27318
This commit is contained in:
parent
e706d4ba84
commit
129a800f3f
1 changed files with 3 additions and 3 deletions
|
@ -1224,9 +1224,9 @@ co_WinPosSetWindowPos(
|
||||||
if (RgnType != ERROR && RgnType != NULLREGION)
|
if (RgnType != ERROR && RgnType != NULLREGION)
|
||||||
{
|
{
|
||||||
NtGdiOffsetRgn(DirtyRgn,
|
NtGdiOffsetRgn(DirtyRgn,
|
||||||
Window->WindowRect.left - Window->ClientRect.left,
|
Window->WindowRect.left,
|
||||||
Window->WindowRect.top - Window->ClientRect.top);
|
Window->WindowRect.top);
|
||||||
co_UserRedrawWindow(Window, NULL, DirtyRgn,
|
IntInvalidateWindows(Window, DirtyRgn,
|
||||||
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||||
}
|
}
|
||||||
NtGdiDeleteObject(DirtyRgn);
|
NtGdiDeleteObject(DirtyRgn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue