co_WinPosSetWindowPos:

- use IntInvalidateWindows() instead of co_UserRedrawWindows()

svn path=/trunk/; revision=27318
This commit is contained in:
Timo Kreuzer 2007-06-28 20:23:46 +00:00
parent e706d4ba84
commit 129a800f3f

View file

@ -1224,9 +1224,9 @@ co_WinPosSetWindowPos(
if (RgnType != ERROR && RgnType != NULLREGION)
{
NtGdiOffsetRgn(DirtyRgn,
Window->WindowRect.left - Window->ClientRect.left,
Window->WindowRect.top - Window->ClientRect.top);
co_UserRedrawWindow(Window, NULL, DirtyRgn,
Window->WindowRect.left,
Window->WindowRect.top);
IntInvalidateWindows(Window, DirtyRgn,
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
}
NtGdiDeleteObject(DirtyRgn);