[COMCTL32] Set default size in ToolBar.SetBitmapSize
Yuri Kozlov
kozlov.y at gmail.com
Sun Aug 28 01:45:57 CDT 2005
2005/8/27, Dmitry Timoshkov <dmitry at baikal.ru>:
> "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.
Ok. Fixed path sended.
--
Regards,
Yuri Kozlov
More information about the wine-devel
mailing list