dlls/user/button.c - fix AUTO3STATE with BS_OWNERDRAW
Tony Lambregts
tony.lambregts at gmail.com
Wed Mar 16 21:45:41 CST 2005
Michael Lin wrote:
> AUTO3STATE control with BS_OWNERDRAW set will not get created.
>
> ChangeLog:
> * fix AUTO3STATE with BS_OWNERDRAW set
>
>
> ------------------------------------------------------------------------
>
> 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);
Patches should be in diff -u format (cvs diff -u)
please resubmit..
--
Tony Lambregts
More information about the wine-devel
mailing list