Merge from trunk. Martijn Vernooij o112w8r02@sneakemail.com Work around continuous repainting of treeview control. Fixes bug 493. Modified: branches/ros-branch-0_2_8/reactos/lib/comctl32/treeview.c _____
Modified: branches/ros-branch-0_2_8/reactos/lib/comctl32/treeview.c --- branches/ros-branch-0_2_8/reactos/lib/comctl32/treeview.c 2005-10-21 17:15:53 UTC (rev 18657) +++ branches/ros-branch-0_2_8/reactos/lib/comctl32/treeview.c 2005-10-21 17:16:46 UTC (rev 18658) @@ -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; }