From 4bc269e94e301a62e23017a612bfe84be6191b42 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Tue, 21 Feb 2017 21:53:34 +0000 Subject: [PATCH] Fix build. svn path=/trunk/; revision=73874 --- reactos/dll/win32/comctl32/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/comctl32/button.c b/reactos/dll/win32/comctl32/button.c index 9ad2e99eda6..f671a1a6b50 100644 --- a/reactos/dll/win32/comctl32/button.c +++ b/reactos/dll/win32/comctl32/button.c @@ -244,7 +244,7 @@ static inline void paint_button( HWND hwnd, LONG style, UINT action ) btnPaintFunc[style]( hwnd, hdc, action ); } ReleaseDC( hwnd, hdc ); -#elif +#else if (btnPaintFunc[style] && IsWindowVisible(hwnd)) { HDC hdc = GetDC( hwnd );