mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[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:
parent
78da5b4e0a
commit
58a5ac1564
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue