comctl32: toolbar: Recalc the toolbar after a TB_SETIMAGELIST.

This commit is contained in:
Mikołaj Zalewski 2007-01-13 23:51:24 +01:00 committed by Alexandre Julliard
parent 749d975a41
commit e6b1bd5f30

View File

@ -4910,6 +4910,7 @@ TOOLBAR_SetImageList (HWND hwnd, WPARAM wParam, LPARAM lParam)
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,