1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-18 19:41:01 -05:00

Use readonly edit controls in some Windows dialogs.

This makes the About and Licence boxes copy-and-pasteable, similarly
to what I've just done on Unix.

(But unlike on the Unix side, here I haven't touched the host key
prompt dialog, because that's a standard Windows MessageBox and not
easy to mess around with. Plus, in any case, you can already hit ^C to
copy the whole text out of a MessageBox. Same goes for the PGP
fingerprints dialog.)

As a side effect, several copies of the copyright notice and licence
text have moved from .rc files into C source. I've updated
CHECKLST.txt, but they won't stay there for long.
This commit is contained in:
Simon Tatham
2015-12-22 10:18:48 +00:00
parent 21101c7397
commit 2eb952ca31
8 changed files with 144 additions and 131 deletions

View File

@ -18,11 +18,9 @@
#define IDN_COPY 1002
#define IDA_ICON 1001
#define IDA_TEXT1 1002
#define IDA_VERSION 1003
#define IDA_TEXT2 1004
#define IDA_LICENCE 1005
#define IDA_WEB 1006
#define IDA_TEXT 1002
#define IDA_LICENCE 1003
#define IDA_WEB 1004
#define IDC_TAB 1001
#define IDC_TABSTATIC1 1002