winetest: 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
7aa1d1cbe1
commit
b527c13c54
|
@ -29,6 +29,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <commctrl.h>
|
||||||
#include <winternl.h>
|
#include <winternl.h>
|
||||||
#include <mshtml.h>
|
#include <mshtml.h>
|
||||||
|
|
||||||
|
@ -1265,6 +1266,8 @@ int __cdecl main( int argc, char *argv[] )
|
||||||
int interactive = 1;
|
int interactive = 1;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
InitCommonControls();
|
||||||
|
|
||||||
if (!LoadStringA( 0, IDS_BUILD_ID, build_id, sizeof(build_id) )) build_id[0] = 0;
|
if (!LoadStringA( 0, IDS_BUILD_ID, build_id, sizeof(build_id) )) build_id[0] = 0;
|
||||||
|
|
||||||
pIsWow64Process = (void *)GetProcAddress(GetModuleHandleA("kernel32.dll"),"IsWow64Process");
|
pIsWow64Process = (void *)GetProcAddress(GetModuleHandleA("kernel32.dll"),"IsWow64Process");
|
||||||
|
|
|
@ -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.Winetest" 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>
|
|
@ -88,6 +88,9 @@ BEGIN
|
||||||
DEFPUSHBUTTON "Close", IDCANCEL, 55, 40, 40, 14
|
DEFPUSHBUTTON "Close", IDCANCEL, 55, 40, 40, 14
|
||||||
END
|
END
|
||||||
|
|
||||||
|
/* @makedep: winetest.manifest */
|
||||||
|
1 RT_MANIFEST winetest.manifest
|
||||||
|
|
||||||
/* @makedep: winetest.ico */
|
/* @makedep: winetest.ico */
|
||||||
IDI_WINE ICON "winetest.ico"
|
IDI_WINE ICON "winetest.ico"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue