Author: gadamopoulos Date: Tue Feb 21 21:53:34 2017 New Revision: 73874
URL: http://svn.reactos.org/svn/reactos?rev=73874&view=rev Log: Fix build.
Modified: trunk/reactos/dll/win32/comctl32/button.c
Modified: trunk/reactos/dll/win32/comctl32/button.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/button.c... ============================================================================== --- trunk/reactos/dll/win32/comctl32/button.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/comctl32/button.c [iso-8859-1] Tue Feb 21 21:53:34 2017 @@ -244,7 +244,7 @@ btnPaintFunc[style]( hwnd, hdc, action ); } ReleaseDC( hwnd, hdc ); -#elif +#else if (btnPaintFunc[style] && IsWindowVisible(hwnd)) { HDC hdc = GetDC( hwnd );