Author: gadamopoulos
Date: Fri Aug 12 10:21:10 2011
New Revision: 53194
URL:
http://svn.reactos.org/svn/reactos?rev=53194&view=rev
Log:
[uxtheme]
- Send WM_THEMECHANGED when theme hooks are removed and there is an active theme
Modified:
branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c
Modified: branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/dll/win…
==============================================================================
--- branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c [iso-8859-1]
(original)
+++ branches/GSoC_2011/ThemesSupport/dll/win32/uxtheme/themehooks.c [iso-8859-1] Fri Aug
12 10:21:10 2011
@@ -183,5 +183,12 @@
BOOL WINAPI
ThemeHooksRemove()
{
- return UnregisterUserApiHook();
-}
+ BOOL ret;
+
+ ret = UnregisterUserApiHook();
+
+ if(IsThemeActive())
+ UXTHEME_broadcast_msg (NULL, WM_THEMECHANGED);
+
+ return ret;
+}