Commit 5b32b11e authored by Alexandre Julliard's avatar Alexandre Julliard

winetest: Set the window small icon.

parent 09989010
...@@ -433,8 +433,9 @@ DlgProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) ...@@ -433,8 +433,9 @@ DlgProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
switch (msg) { switch (msg) {
case WM_INITDIALOG: case WM_INITDIALOG:
SendMessage (hwnd, WM_SETICON, ICON_SMALL, SendMessage (hwnd, WM_SETICON, ICON_SMALL,
(LPARAM)LoadIcon (GetModuleHandle (NULL), (LPARAM)LoadImage( GetModuleHandle (NULL), MAKEINTRESOURCE (IDI_WINE), IMAGE_ICON,
MAKEINTRESOURCE (IDI_WINE))); GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON),
LR_SHARED ));
SendMessage (hwnd, WM_SETICON, ICON_BIG, SendMessage (hwnd, WM_SETICON, ICON_BIG,
(LPARAM)LoadIcon (GetModuleHandle (NULL), (LPARAM)LoadIcon (GetModuleHandle (NULL),
MAKEINTRESOURCE (IDI_WINE))); MAKEINTRESOURCE (IDI_WINE)));
......
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