comctl32: Fix missing toolbar button with HINST_COMMCTRL.

This commit is contained in:
Jason Edmeades 2007-07-25 20:51:18 +01:00 committed by Alexandre Julliard
parent 12788f6fc8
commit 718e23fb68
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ CreateToolbarEx (HWND hwnd, DWORD style, UINT wID, INT nBitmaps,
/* add bitmaps */
if (nBitmaps > 0)
if (nBitmaps > 0 || hBMInst == HINST_COMMCTRL)
{
tbab.hInst = hBMInst;
tbab.nID = wBMID;