From 336ec53c839ca001a3aa5af4c0fdd1f4462d2bcd Mon Sep 17 00:00:00 2001 From: jacob Date: Fri, 7 Feb 2003 13:54:34 +0000 Subject: [PATCH] Give PuTTYgen an icon. git-svn-id: svn://svn.tartarus.org/sgt/putty@2821 cda61777-01e9-0310-a592-d414129be87e --- puttygen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/puttygen.c b/puttygen.c index 42af3976..d7094a35 100644 --- a/puttygen.c +++ b/puttygen.c @@ -14,6 +14,10 @@ #include "ssh.h" #include "winstuff.h" +#ifdef MSVC4 +#define ICON_BIG 1 +#endif + #define WM_DONEKEY (WM_XUSER + 1) #define DEFAULT_KEYSIZE 1024 @@ -813,6 +817,8 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg, */ } requested_help = FALSE; + SendMessage(hwnd, WM_SETICON, (WPARAM) ICON_BIG, + (LPARAM) LoadIcon(hinst, MAKEINTRESOURCE(200))); state = smalloc(sizeof(*state)); state->generation_thread_exists = FALSE; -- 2.11.0