From 8ea75e12eb137798a65c9cded2ed9c3df406909a Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Thu, 7 Nov 2013 14:14:26 +0000 Subject: [PATCH] [shell32] - Initialize comctl32 properly svn path=/trunk/; revision=60880 --- reactos/dll/win32/shell32/shell32_main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/shell32/shell32_main.cpp b/reactos/dll/win32/shell32/shell32_main.cpp index 7e2c27c3fb6..313fa97b02c 100644 --- a/reactos/dll/win32/shell32/shell32_main.cpp +++ b/reactos/dll/win32/shell32/shell32_main.cpp @@ -1463,7 +1463,11 @@ STDAPI_(BOOL) DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID fImpLoad) 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();