[PATCH] comctl32/button: Remove style checking when handling BM_SETIMAGE.

Zhiyi Zhang zzhang at codeweavers.com
Mon Apr 2 08:20:26 CDT 2018


If BS_ICON and BS_BITMAP are not specified in style and BM_SETIMAGE 
message is used, button shows both image and text. Therefore style 
checking when handling BM_SETIMAGE should be removed in comctl32.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
  dlls/comctl32/button.c       | 141 +++++++++++---------------
  dlls/comctl32/tests/button.c | 234 
+++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 295 insertions(+), 80 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-button-Remove-style-checking-when-handling-BM.txt
Type: text/x-patch
Size: 17729 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180402/516d96ea/attachment.bin>


More information about the wine-devel mailing list