Felix Nawothnig : comctl32: Layout and redraw on TCM_SETIMAGELIST.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Mar 13 16:56:47 CDT 2007
Module: wine
Branch: master
Commit: 0f2f718dea16ec3ad6e37fa48e27a1a177b364bc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0f2f718dea16ec3ad6e37fa48e27a1a177b364bc
Author: Felix Nawothnig <flexo at holycrap.org>
Date: Mon Mar 12 21:23:24 2007 +0100
comctl32: Layout and redraw on TCM_SETIMAGELIST.
---
dlls/comctl32/tab.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index 711c320..c63b0f7 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -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;
}
More information about the wine-cvs
mailing list