comctl32: Fix missing toolbar button with HINST_COMMCTRL.
This commit is contained in:
parent
12788f6fc8
commit
718e23fb68
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue