comctl32: Use a clip region when collapsing the treeview.
This commit is contained in:
parent
bbd550ad5c
commit
985b6e9c01
@ -3209,7 +3209,7 @@ TREEVIEW_Collapse(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
|
||||
{
|
||||
scrollRect.top = nextItem->rect.top;
|
||||
|
||||
ScrollWindowEx (infoPtr->hwnd, 0, scrollDist, &scrollRect, NULL,
|
||||
ScrollWindowEx (infoPtr->hwnd, 0, scrollDist, &scrollRect, &scrollRect,
|
||||
NULL, NULL, SW_ERASE | SW_INVALIDATE);
|
||||
TREEVIEW_Invalidate(infoPtr, wineItem);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user