Revert "winevdm: Enable visual styles.".

This reverts commit f304b2ae23.

16-bit applications don't use themed controls even if theming is on.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51583
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51802
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-10-18 14:54:09 +08:00 committed by Alexandre Julliard
parent 586ae944b5
commit b1eeaa657d
3 changed files with 1 additions and 16 deletions

View File

@ -1,5 +1,5 @@
MODULE = winevdm.exe
IMPORTS = user32 kernel comctl32
IMPORTS = user32 kernel
EXTRADLLFLAGS = -mwindows

View File

@ -29,7 +29,6 @@
#include "wine/winbase16.h"
#include "winuser.h"
#include "wincon.h"
#include "commctrl.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winevdm);
@ -448,8 +447,6 @@ int main( int argc, char *argv[] )
char *cmdline, *appname, **first_arg;
char *p;
InitCommonControls();
if (!argv[1]) usage();
if (!strcmp( argv[1], "--app-name" ))

View File

@ -1,18 +1,6 @@
<?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.Winevdm" 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>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>