comctl32: Layout and redraw on TCM_SETIMAGELIST.

This commit is contained in:
Felix Nawothnig 2007-03-12 21:23:24 +01:00 committed by Alexandre Julliard
parent 7fc0becf6e
commit 0f2f718dea
1 changed files with 2 additions and 0 deletions

View File

@ -2930,6 +2930,8 @@ static inline LRESULT TAB_SetImageList (TAB_INFO *infoPtr, HIMAGELIST himlNew)
HIMAGELIST himlPrev = infoPtr->himl;
TRACE("\n");
infoPtr->himl = himlNew;
TAB_SetItemBounds(infoPtr);
InvalidateRect(infoPtr->hwnd, NULL, TRUE);
return (LRESULT)himlPrev;
}