dlls/user/button.c - fix AUTO3STATE with BS_OWNERDRAW
Michael Lin
mlin at corvu.com.au
Wed Mar 16 21:15:38 CST 2005
AUTO3STATE control with BS_OWNERDRAW set will not get created.
ChangeLog:
* fix AUTO3STATE with BS_OWNERDRAW set
-------------- next part --------------
Index: dlls/user/button.c
===================================================================
RCS file: /home/wine/wine/dlls/user/button.c,v
retrieving revision 1.6
diff -r1.6 button.c
183c183,186
< return (window_style & 0x0f);
---
> if ((window_style & BS_OWNERDRAW) == BS_OWNERDRAW)
> return BS_OWNERDRAW;
> else
> return (window_style & 0x0f);
More information about the wine-patches
mailing list