[PATCH] Use a ClipRegion when collapsing, so that the TreeView =

Colin Finck mail at colinfinck.de
Mon Jun 9 23:57:58 CDT 2008


works correctly under Windows.=0A=
See Wine bug #10544 for more details.=0A=
---=0A=
 dlls/comctl32/treeview.c |    2 +-=0A=
 1 files changed, 1 insertions(+), 1 deletions(-)=0A=
=0A=
diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c=0A=
index fb67c24..28b822e 100644=0A=
--- a/dlls/comctl32/treeview.c=0A=
+++ b/dlls/comctl32/treeview.c=0A=
@@ -3209,7 +3209,7 @@ TREEVIEW_Collapse(TREEVIEW_INFO *infoPtr, =
TREEVIEW_ITEM *wineItem,=0A=
     {=0A=
         scrollRect.top =3D nextItem->rect.top;=0A=
 =0A=
-        ScrollWindowEx (infoPtr->hwnd, 0, scrollDist, &scrollRect, NULL,=0A=
+        ScrollWindowEx (infoPtr->hwnd, 0, scrollDist, &scrollRect, =
&scrollRect,=0A=
                        NULL, NULL, SW_ERASE | SW_INVALIDATE);=0A=
         TREEVIEW_Invalidate(infoPtr, wineItem);=0A=
     } else {=0A=
-- =0A=
1.4.4.2=0A=
=0A=

------=_NextPart_000_0022_01C8D1A1.7D886610--




More information about the wine-patches mailing list