[PATCH v2 resend] comctl32: Correctly draw disabled toolbar button which contains 32 bpp bitmap with alpha channel.

Zhiyi Zhang zzhang at codeweavers.com
Tue Mar 17 02:45:19 CDT 2020

> +BOOL inline imagelist_has_alpha( HIMAGELIST himl, UINT index )
> +{
> +    return himl->has_alpha && himl->has_alpha[index];
> +}
This should be a static function. If you really need it for other files later,
you should add it to the comctl32 private header instead of the public header
commctrl.h. You can also remove inline as compilers should automatically decide
it for you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200317/89ba9560/attachment.htm>

More information about the wine-devel mailing list