mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[shell32]
- Initialize comctl32 properly svn path=/trunk/; revision=60880
This commit is contained in:
parent
362257a995
commit
8ea75e12eb
|
@ -1463,7 +1463,11 @@ STDAPI_(BOOL) DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID fImpLoad)
|
||||||
GetModuleFileNameW(hInstance, swShell32Name, MAX_PATH);
|
GetModuleFileNameW(hInstance, swShell32Name, MAX_PATH);
|
||||||
swShell32Name[MAX_PATH - 1] = '\0';
|
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();
|
SIC_Initialize();
|
||||||
InitChangeNotifications();
|
InitChangeNotifications();
|
||||||
|
|
Loading…
Reference in a new issue