Mikołaj Zalewski : comctl32: toolbar: Recalc the toolbar after a TB_SETIMAGELIST.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 16 05:22:18 CST 2007
Module: wine
Branch: master
Commit: e6b1bd5f303f13c6d4af7cfeb79b6ed1d35c0ebe
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e6b1bd5f303f13c6d4af7cfeb79b6ed1d35c0ebe
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Sat Jan 13 23:51:24 2007 +0100
comctl32: toolbar: Recalc the toolbar after a TB_SETIMAGELIST.
---
dlls/comctl32/toolbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index bda17e9..85ada79 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -4910,6 +4910,7 @@ TOOLBAR_SetImageList (HWND hwnd, WPARAM
infoPtr->nBitmapHeight = 1;
}
infoPtr->nVBitmapHeight = infoPtr->nBitmapHeight;
+ TOOLBAR_CalcToolbar(hwnd);
TRACE("hwnd %p, new himl=%p, id = %d, count=%d, bitmap w=%d, h=%d\n",
hwnd, infoPtr->himlDef, id, infoPtr->nNumBitmaps,
More information about the wine-cvs
mailing list