Commit dc21c5e4 authored by Yuri Kozlov's avatar Yuri Kozlov Committed by Alexandre Julliard

Set default size for toolbar bitmap if not specified.

parent 0c49c1c4
......@@ -4719,7 +4719,7 @@ TOOLBAR_SetBitmapSize (HWND hwnd, WPARAM wParam, LPARAM lParam)
FIXME("wParam is %d. Perhaps image list index?\n", wParam);
if ((LOWORD(lParam) <= 0) || (HIWORD(lParam)<=0))
return FALSE;
lParam = MAKELPARAM(16, 15);
if (infoPtr->nNumButtons > 0)
WARN("%d buttons, undoc increase to bitmap size : %d-%d -> %d-%d\n",
......
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