[COMCTL32] Set default size in ToolBar.SetBitmapSize
Dmitry Timoshkov
dmitry at baikal.ru
Sat Aug 27 09:31:06 CDT 2005
"Yuri Kozlov" <kozlov.y at gmail.com> wrote:
> changelog:
> [COMCTL32] set default size for toolbar bitmap if not specified
> --- wine/dlls/comctl32/toolbar.c 2005-08-16 19:25:16.000000000 +0400
> +++ bwine/dlls/comctl32/toolbar.c 2005-08-27 13:12:46.000000000 +0400
> @@ -4719,7 +4719,7 @@
> FIXME("wParam is %d. Perhaps image list index?\n", wParam);
>
> if ((LOWORD(lParam) <= 0) || (HIWORD(lParam)<=0))
> - return FALSE;
> + lParam = MAKELONG(16, 15);
Better use MAKELPARAM here since it's a 64-bit entity in Win64.
--
Dmitry.
More information about the wine-devel
mailing list