[uxtheme]

- Send WM_THEMECHANGED when theme hooks are removed and there is an active theme 

svn path=/branches/GSoC_2011/ThemesSupport/; revision=53194
This commit is contained in:
Giannis Adamopoulos 2011-08-12 10:21:10 +00:00
parent 2a4f54ed3c
commit 9a2b6354d0

View file

@ -183,5 +183,12 @@ ThemeHooksInstall()
BOOL WINAPI
ThemeHooksRemove()
{
return UnregisterUserApiHook();
}
BOOL ret;
ret = UnregisterUserApiHook();
if(IsThemeActive())
UXTHEME_broadcast_msg (NULL, WM_THEMECHANGED);
return ret;
}