Commit 7366d159 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

comctl32: Don't redraw whole listview in double buffering mode.

parent 02c224ed
......@@ -4996,6 +4996,9 @@ static void LISTVIEW_Refresh(LISTVIEW_INFO *infoPtr, HDC hdc, const RECT *prcEra
SelectObject(hdc, hbmp);
SelectObject(hdc, infoPtr->hFont);
if(GetClipBox(hdcOrig, &rcClient))
IntersectClipRect(hdc, rcClient.left, rcClient.top, rcClient.right, rcClient.bottom);
} else {
/* Save dc values we're gonna trash while drawing
* FIXME: Should be done in LISTVIEW_DrawItem() */
......
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