Fix toolbar get style

Robert Shearman R.J.Shearman at warwick.ac.uk
Thu Apr 29 18:12:46 CDT 2004


>>> maxime.bellenge at laposte.net 04/29/04 22:59 PM >>>
> When a toolbar receives a TB_GETSTYLE message with wParam=0, the
> application expects to get the toolbar style and not the first button
> style. This patch fixes eMule 0.42e, now the toolbar is visible.
> 
> ChangeLog
>    * Fix TB_GETSTYLE to return the style of the toolbar when wParam is 0

Good catch, but I think the original author of the
TB_GETSTYLE code got a bit confused. I think it should
always return the style of the toolbar (according to
MSDN) and should print an ERR or FIXME if wParam != 0,
as it is reserved.
Could you resubmit with that change?

Rob




More information about the wine-devel mailing list