Author: gadamopoulos
Date: Sat Feb 25 09:24:40 2017
New Revision: 73899
URL:
http://svn.reactos.org/svn/reactos?rev=73899&view=rev
Log:
[COMCTL32] -Redraw the button when we get a WM_THEMECHANGED.
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.…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/button.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/button.c [iso-8859-1] Sat Feb 25 09:24:40 2017
@@ -380,6 +380,7 @@
case WM_THEMECHANGED:
CloseThemeData (GetWindowTheme(hWnd));
OpenThemeData(hWnd, WC_BUTTONW);
+ InvalidateRect(hWnd, NULL, FALSE);
break;
case WM_MOUSEHOVER: