Added a new large icon for the PuTTY config box. Doesn't show up in
[sgt/putty] / windlg.c
index 99cd9c3..9bded2d 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -1215,6 +1215,8 @@ static int GenericMainDlgProc(HWND hwnd, UINT msg,
       case WM_INITDIALOG:
        readytogo = 0;
        SetWindowLong(hwnd, GWL_USERDATA, 0);
+       SendMessage(hwnd, WM_SETICON, (WPARAM) ICON_BIG,
+                   (LPARAM) LoadIcon(hinst, MAKEINTRESOURCE(IDI_CFGICON)));
        /*
         * Centre the window.
         */