mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 08:44:07 +00:00
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:
parent
7abfec4473
commit
6c6cfb913b
|
@ -1,5 +1,5 @@
|
||||||
MODULE = winemine.exe
|
MODULE = winemine.exe
|
||||||
IMPORTS = user32 gdi32 advapi32
|
IMPORTS = user32 gdi32 advapi32 comctl32
|
||||||
DELAYIMPORTS = shell32
|
DELAYIMPORTS = shell32
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
|
EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <commctrl.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
@ -1012,6 +1013,8 @@ int WINAPI wWinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int c
|
||||||
HACCEL haccel;
|
HACCEL haccel;
|
||||||
WCHAR appname[20];
|
WCHAR appname[20];
|
||||||
|
|
||||||
|
InitCommonControls();
|
||||||
|
|
||||||
LoadStringW( hInst, IDS_APPNAME, appname, ARRAY_SIZE(appname));
|
LoadStringW( hInst, IDS_APPNAME, appname, ARRAY_SIZE(appname));
|
||||||
|
|
||||||
wc.cbSize = sizeof(wc);
|
wc.cbSize = sizeof(wc);
|
||||||
|
|
16
programs/winemine/winemine.manifest
Normal file
16
programs/winemine/winemine.manifest
Normal 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>
|
|
@ -105,6 +105,9 @@ IDA_WINEMINE ACCELERATORS
|
||||||
|
|
||||||
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
|
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
|
||||||
|
|
||||||
|
/* @makedep: winemine.manifest */
|
||||||
|
1 RT_MANIFEST winemine.manifest
|
||||||
|
|
||||||
/* @makedep: winemine.ico */
|
/* @makedep: winemine.ico */
|
||||||
IDI_WINEMINE ICON winemine.ico
|
IDI_WINEMINE ICON winemine.ico
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue