Author: gadamopoulos
Date: Thu Nov  7 14:14:26 2013
New Revision: 60880

URL: http://svn.reactos.org/svn/reactos?rev=60880&view=rev
Log:
[shell32]
- Initialize comctl32 properly

Modified:
    trunk/reactos/dll/win32/shell32/shell32_main.cpp

Modified: trunk/reactos/dll/win32/shell32/shell32_main.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32_main.cpp?rev=60880&r1=60879&r2=60880&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shell32_main.cpp    [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shell32_main.cpp    [iso-8859-1] Thu Nov  7 
14:14:26 2013
@@ -1463,7 +1463,11 @@
         GetModuleFileNameW(hInstance, swShell32Name, MAX_PATH);
         swShell32Name[MAX_PATH - 1] = '\0';
 
-        InitCommonControlsEx(NULL);
+        /* Initialize comctl32 */
+        INITCOMMONCONTROLSEX InitCtrls;
+        InitCtrls.dwSize = sizeof(INITCOMMONCONTROLSEX);
+        InitCtrls.dwICC = ICC_WIN95_CLASSES | ICC_DATE_CLASSES | 
ICC_USEREX_CLASSES;
+        InitCommonControlsEx(&InitCtrls);
 
         SIC_Initialize();
         InitChangeNotifications();


Reply via email to