зеркало из https://github.com/github/putty.git
New option to allow SysTabControl32 to be specified in ASCII not Unicode
[originally from svn r367]
This commit is contained in:
Родитель
812ea3f61c
Коммит
debba4b8b1
6
Makefile
6
Makefile
|
@ -21,6 +21,12 @@
|
|||
# - COMPAT=/DWIN32S_COMPAT
|
||||
# Generates a binary that works (minimally) with Win32s.
|
||||
#
|
||||
# - CFL=/DASCIICTLS
|
||||
# Uses ASCII rather than Unicode to specify the tab control in
|
||||
# the resource file. Probably most useful when compiling with
|
||||
# Cygnus/mingw32, whose resource compiler may have less of a
|
||||
# problem with it.
|
||||
#
|
||||
##--
|
||||
|
||||
CFLAGS = /nologo /W3 /YX /O2 /Yd /D_WINDOWS /DDEBUG /ML /Fd
|
||||
|
|
18
win_res.rc
18
win_res.rc
|
@ -30,8 +30,13 @@ BEGIN
|
|||
DEFPUSHBUTTON "&Open", IDOK, 86, 199, 44, 14
|
||||
PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14
|
||||
PUSHBUTTON "&About", IDC_ABOUT, 3, 199, 44, 14, NOT WS_TABSTOP
|
||||
CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP,
|
||||
3, 3, 174, 193
|
||||
CONTROL "", IDC_TAB,
|
||||
#ifdef ASCIICTLS
|
||||
"SysTabControl32",
|
||||
#else
|
||||
L"SysTabControl32",
|
||||
#endif
|
||||
TCS_MULTILINE | WS_TABSTOP, 3, 3, 174, 193
|
||||
END
|
||||
|
||||
IDD_RECONF DIALOG DISCARDABLE 0, 0, 180, 216
|
||||
|
@ -41,8 +46,13 @@ FONT 8, "MS Sans Serif"
|
|||
BEGIN
|
||||
DEFPUSHBUTTON "&Apply", IDOK, 86, 199, 44, 14
|
||||
PUSHBUTTON "&Cancel", IDCANCEL, 133, 199, 44, 14
|
||||
CONTROL "", IDC_TAB, L"SysTabControl32", TCS_MULTILINE | WS_TABSTOP,
|
||||
3, 3, 174, 193
|
||||
CONTROL "", IDC_TAB,
|
||||
#ifdef ASCIICTLS
|
||||
"SysTabControl32",
|
||||
#else
|
||||
L"SysTabControl32",
|
||||
#endif
|
||||
TCS_MULTILINE | WS_TABSTOP, 3, 3, 174, 193
|
||||
END
|
||||
|
||||
IDD_PANEL0 DIALOG DISCARDABLE 6, 30, 168, 163
|
||||
|
|
Загрузка…
Ссылка в новой задаче