[comctl32]

- Do not subclass user32 controls when themes are disabled.This is a temporary hack bacause it turns out that subclassing causes problems. When it is fixed this will be reverted. This change means that in order to make themes work properly, the user has to reboot after enabling.

svn path=/trunk/; revision=53866
This commit is contained in:
Giannis Adamopoulos 2011-09-26 19:36:01 +00:00
parent 78da5b4e0a
commit 58a5ac1564

View file

@ -118,7 +118,9 @@ void THEMING_Initialize (void)
{ 'C','C','3','2','T','h','e','m','i','n','g','S','u','b','C','l',0 };
static const WCHAR refDataPropName[] =
{ 'C','C','3','2','T','h','e','m','i','n','g','D','a','t','a',0 };
if (!IsThemeActive()) return;
atSubclassProp = GlobalAddAtomW (subclassPropName);
atRefDataProp = GlobalAddAtomW (refDataPropName);