Commit 718e23fb authored by Jason Edmeades's avatar Jason Edmeades Committed by Alexandre Julliard

comctl32: Fix missing toolbar button with HINST_COMMCTRL.

parent 12788f6f
...@@ -704,7 +704,7 @@ CreateToolbarEx (HWND hwnd, DWORD style, UINT wID, INT nBitmaps, ...@@ -704,7 +704,7 @@ CreateToolbarEx (HWND hwnd, DWORD style, UINT wID, INT nBitmaps,
/* add bitmaps */ /* add bitmaps */
if (nBitmaps > 0) if (nBitmaps > 0 || hBMInst == HINST_COMMCTRL)
{ {
tbab.hInst = hBMInst; tbab.hInst = hBMInst;
tbab.nID = wBMID; tbab.nID = wBMID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment