21 Mar
2005
21 Mar
'05
noon
Michael Lin <mlin(a)corvu.com.au> writes:
inline static UINT get_button_type( LONG window_style ) { - return (window_style & 0x0f); + if ((window_style & BS_OWNERDRAW) == BS_OWNERDRAW) + return BS_OWNERDRAW; + else + return (window_style & 0x0f);
BS_OWNERDRAW is not a bit mask, this won't work right. What is the problem you are trying to fix? -- Alexandre Julliard julliard(a)winehq.org