Martijn Vernooij <o112w8r02(a)sneakemail.com>
Work around continuous repainting of treeview control.
Fixes bug 493.
Modified: trunk/reactos/lib/comctl32/treeview.c
_____
Modified: trunk/reactos/lib/comctl32/treeview.c
--- trunk/reactos/lib/comctl32/treeview.c 2005-10-21 17:00:39 UTC
(rev 18656)
+++ trunk/reactos/lib/comctl32/treeview.c 2005-10-21 17:15:53 UTC
(rev 18657)
@@ -2821,8 +2821,6 @@
}
}
- TREEVIEW_UpdateScrollBars(infoPtr);
-
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
infoPtr->cdmode =
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc,
rect);
@@ -3337,6 +3335,7 @@
}
}
}
+ TREEVIEW_UpdateScrollBars(infoPtr);
return TRUE;
}
Show replies by date