Module: wine Branch: master Commit: 389c3add0ad93f3b2180c636363b25f6c78757a2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=389c3add0ad93f3b2180c6363...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Feb 14 14:05:15 2018 +0300
comctl32/button: Fix paint handler check when theming is on.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/comctl32/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/button.c b/dlls/comctl32/button.c index 7184d19..6458ba1 100644 --- a/dlls/comctl32/button.c +++ b/dlls/comctl32/button.c @@ -393,7 +393,7 @@ static LRESULT CALLBACK BUTTON_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, L theme = GetWindowTheme( hWnd ); hdc = wParam ? (HDC)wParam : BeginPaint( hWnd, &ps );
- if (theme && btnPaintFunc[btn_type]) + if (theme && btnThemedPaintFunc[btn_type]) { ButtonState drawState; UINT dtflags;