Commit c166cb38 authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Alexandre Julliard

winecfg: Installed a Tango compliant application icon.

parent c2ebd0d5
......@@ -44,4 +44,7 @@ RC_SRCS = \
Zh.rc \
winecfg.rc
SVG_SRCS = \
winecfg.svg
@MAKE_PROG_RULES@
......@@ -48,6 +48,10 @@ PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
break;
case PSCB_INITIALIZED:
/* Set the window icon */
SendMessageW( hWnd, WM_SETICON, ICON_BIG,
(LPARAM)LoadIconW( (HINSTANCE)GetWindowLongPtrW(hWnd, GWLP_HINSTANCE),
MAKEINTRESOURCEW(IDI_WINECFG) ));
break;
default:
......@@ -218,7 +222,7 @@ doPropertySheet (HINSTANCE hInstance, HWND hOwner)
psh.dwFlags = PSH_PROPSHEETPAGE | PSH_USEICONID | PSH_USECALLBACK;
psh.hwndParent = hOwner;
psh.hInstance = hInstance;
psh.u.pszIcon = NULL;
psh.u.pszIcon = MAKEINTRESOURCEW (IDI_WINECFG);
psh.pszCaption = load_string (IDS_WINECFG_TITLE);
psh.nPages = NUM_PROPERTY_PAGES;
psh.u3.ppsp = psp;
......
......@@ -45,6 +45,7 @@
#define IDS_SHELL_FOLDER 16
#define IDS_LINKS_TO 17
#define IDS_WINECFG_TITLE_APP 18 /* App specific title */
#define IDI_WINECFG 100
#define IDD_MAINDLG 101
#define IDB_WINE 104
#define IDD_ABOUTCFG 107
......
......@@ -23,6 +23,9 @@
#include "config.h" /* Needed for the PACKAGE_STRING definition */
#include "resource.h"
/* @makedep: winecfg.ico */
IDI_WINECFG ICON winecfg.ico
/* @makedep: idb_wine.bmp */
IDB_WINE BITMAP idb_wine.bmp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment