[ros-diffs] [gadamopoulos] 53030: [win32k] - HACK RegisterClass in order to let comctl32 re-register built in classes. This is needed in order to fix themes and will keep it till we find a way to do it properl...

gadamopoulos at svn.reactos.org gadamopoulos at svn.reactos.org
Tue Aug 2 13:59:13 UTC 2011


Author: gadamopoulos
Date: Tue Aug  2 13:59:13 2011
New Revision: 53030

URL: http://svn.reactos.org/svn/reactos?rev=53030&view=rev
Log:
[win32k]
- HACK RegisterClass in order to let comctl32 re-register built in classes. This is needed in order to fix themes and will keep it till we find a way to do it properly. (of course this breaks class wine tests as well)

Modified:
    branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/class.c

Modified: branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/class.c
URL: http://svn.reactos.org/svn/reactos/branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/class.c?rev=53030&r1=53029&r2=53030&view=diff
==============================================================================
--- branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] (original)
+++ branches/GSoC_2011/ThemesSupport/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] Tue Aug  2 13:59:13 2011
@@ -1295,8 +1295,9 @@
 
        if (lpwcx->style & CS_GLOBALCLASS)
        {
+          /* HACK: allow global classes to be re-registered*/
           Class = IntFindClass( ClassAtom,
-                                NULL,
+                                lpwcx->hInstance,
                                &pi->pclsPublicList,
                                 NULL);
 




More information about the Ros-diffs mailing list