зеркало из https://github.com/github/putty.git
Give PuTTYgen an icon.
[originally from svn r2821]
This commit is contained in:
Родитель
2c10ece60d
Коммит
8c9ac4ac48
|
@ -14,6 +14,10 @@
|
||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
#include "winstuff.h"
|
#include "winstuff.h"
|
||||||
|
|
||||||
|
#ifdef MSVC4
|
||||||
|
#define ICON_BIG 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define WM_DONEKEY (WM_XUSER + 1)
|
#define WM_DONEKEY (WM_XUSER + 1)
|
||||||
|
|
||||||
#define DEFAULT_KEYSIZE 1024
|
#define DEFAULT_KEYSIZE 1024
|
||||||
|
@ -813,6 +817,8 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
requested_help = FALSE;
|
requested_help = FALSE;
|
||||||
|
SendMessage(hwnd, WM_SETICON, (WPARAM) ICON_BIG,
|
||||||
|
(LPARAM) LoadIcon(hinst, MAKEINTRESOURCE(200)));
|
||||||
|
|
||||||
state = smalloc(sizeof(*state));
|
state = smalloc(sizeof(*state));
|
||||||
state->generation_thread_exists = FALSE;
|
state->generation_thread_exists = FALSE;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче