winemine: 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-11 10:05:26 +08:00 committed by Alexandre Julliard
parent 7abfec4473
commit 6c6cfb913b
4 changed files with 23 additions and 1 deletions

View File

@ -1,5 +1,5 @@
MODULE = winemine.exe
IMPORTS = user32 gdi32 advapi32
IMPORTS = user32 gdi32 advapi32 comctl32
DELAYIMPORTS = shell32
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin

View File

@ -23,6 +23,7 @@
#include <string.h>
#include <time.h>
#include <windows.h>
#include <commctrl.h>
#include <stdlib.h>
#include <shellapi.h>
#include "main.h"
@ -1012,6 +1013,8 @@ int WINAPI wWinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int c
HACCEL haccel;
WCHAR appname[20];
InitCommonControls();
LoadStringW( hInst, IDS_APPNAME, appname, ARRAY_SIZE(appname));
wc.cbSize = sizeof(wc);

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.Winemine" 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

@ -105,6 +105,9 @@ IDA_WINEMINE ACCELERATORS
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
/* @makedep: winemine.manifest */
1 RT_MANIFEST winemine.manifest
/* @makedep: winemine.ico */
IDI_WINEMINE ICON winemine.ico