regedit: Enable visual styles.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-06-10 11:04:14 +08:00 committed by Alexandre Julliard
parent e1033e9253
commit f623608f9f
3 changed files with 21 additions and 0 deletions

View File

@ -142,6 +142,8 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
HACCEL hAccel;
BOOL is_wow64;
InitCommonControls();
if (ProcessCmdLine(GetCommandLineW())) {
return 0;
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="Wine.Regedit" version="0.0.0.0"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

View File

@ -434,6 +434,9 @@ STRINGTABLE
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: regedit.manifest */
1 RT_MANIFEST regedit.manifest
/* @makedep: folderopen.ico */
IDI_OPEN_FILE ICON folderopen.ico