[PATCH 3/8] comctl32/button: Implement NM_CUSTOMDRAW for themed Push Buttons
Nikolay Sivov
nsivov at codeweavers.com
Mon Mar 4 12:21:55 CST 2019
On 3/4/19 7:25 PM, Gabriel Ivăncescu wrote:
> GetClientRect(infoPtr->hwnd, &bgRect);
> + init_custom_draw(&nmcd, infoPtr, hDC, &bgRect);
> GetThemeBackgroundContentRect(theme, hDC, BP_PUSHBUTTON, state, &bgRect, &textRect);
This looks like a workaround, while it is not. Could you move your init
call after uxtheme one? I know that bgRect is [in] argument, but it's
not obvious.
More information about the wine-devel
mailing list