Colin Finck : comctl32: Use a clip region when collapsing the treeview.
Alexandre Julliard
julliard at winehq.org
Thu Jun 19 06:39:26 CDT 2008
Module: wine
Branch: master
Commit: 985b6e9c01683ff65db948a3a6c7bf784959b06b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=985b6e9c01683ff65db948a3a6c7bf784959b06b
Author: Colin Finck <mail at colinfinck.de>
Date: Mon Jun 9 23:57:58 2008 +0200
comctl32: Use a clip region when collapsing the treeview.
---
dlls/comctl32/treeview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c
index fb67c24..28b822e 100644
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -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 {
More information about the wine-cvs
mailing list