Martijn Vernooij <o112w8r02@sneakemail.com>

Work around continuous repainting of treeview control.
Fixes bug 493.

svn path=/trunk/; revision=18657
This commit is contained in:
Gé van Geldorp 2005-10-21 17:15:53 +00:00
parent 87a380e34d
commit f804141345

View file

@ -2821,8 +2821,6 @@ TREEVIEW_Refresh(TREEVIEW_INFO *infoPtr, HDC hdc, RECT *rc)
}
}
TREEVIEW_UpdateScrollBars(infoPtr);
if (infoPtr->cdmode & CDRF_NOTIFYPOSTPAINT)
infoPtr->cdmode =
TREEVIEW_SendCustomDrawNotify(infoPtr, CDDS_POSTPAINT, hdc, rect);
@ -3337,6 +3335,7 @@ TREEVIEW_Expand(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
}
}
}
TREEVIEW_UpdateScrollBars(infoPtr);
return TRUE;
}