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 = \ ...@@ -44,4 +44,7 @@ RC_SRCS = \
Zh.rc \ Zh.rc \
winecfg.rc winecfg.rc
SVG_SRCS = \
winecfg.svg
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
...@@ -48,6 +48,10 @@ PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam) ...@@ -48,6 +48,10 @@ PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
break; break;
case PSCB_INITIALIZED: case PSCB_INITIALIZED:
/* Set the window icon */
SendMessageW( hWnd, WM_SETICON, ICON_BIG,
(LPARAM)LoadIconW( (HINSTANCE)GetWindowLongPtrW(hWnd, GWLP_HINSTANCE),
MAKEINTRESOURCEW(IDI_WINECFG) ));
break; break;
default: default:
...@@ -218,7 +222,7 @@ doPropertySheet (HINSTANCE hInstance, HWND hOwner) ...@@ -218,7 +222,7 @@ doPropertySheet (HINSTANCE hInstance, HWND hOwner)
psh.dwFlags = PSH_PROPSHEETPAGE | PSH_USEICONID | PSH_USECALLBACK; psh.dwFlags = PSH_PROPSHEETPAGE | PSH_USEICONID | PSH_USECALLBACK;
psh.hwndParent = hOwner; psh.hwndParent = hOwner;
psh.hInstance = hInstance; psh.hInstance = hInstance;
psh.u.pszIcon = NULL; psh.u.pszIcon = MAKEINTRESOURCEW (IDI_WINECFG);
psh.pszCaption = load_string (IDS_WINECFG_TITLE); psh.pszCaption = load_string (IDS_WINECFG_TITLE);
psh.nPages = NUM_PROPERTY_PAGES; psh.nPages = NUM_PROPERTY_PAGES;
psh.u3.ppsp = psp; psh.u3.ppsp = psp;
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#define IDS_SHELL_FOLDER 16 #define IDS_SHELL_FOLDER 16
#define IDS_LINKS_TO 17 #define IDS_LINKS_TO 17
#define IDS_WINECFG_TITLE_APP 18 /* App specific title */ #define IDS_WINECFG_TITLE_APP 18 /* App specific title */
#define IDI_WINECFG 100
#define IDD_MAINDLG 101 #define IDD_MAINDLG 101
#define IDB_WINE 104 #define IDB_WINE 104
#define IDD_ABOUTCFG 107 #define IDD_ABOUTCFG 107
......
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
#include "config.h" /* Needed for the PACKAGE_STRING definition */ #include "config.h" /* Needed for the PACKAGE_STRING definition */
#include "resource.h" #include "resource.h"
/* @makedep: winecfg.ico */
IDI_WINECFG ICON winecfg.ico
/* @makedep: idb_wine.bmp */ /* @makedep: idb_wine.bmp */
IDB_WINE BITMAP 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