Patch from RDB: the ESC[8...t resize sequence and the ESC[18t size
[u/mdw/putty] / win_res.rc
index 05a7eb2..d2d81d1 100644 (file)
@@ -1,6 +1,10 @@
 /* Some compilers, like Borland, don't have winresrc.h */
 #ifndef NO_WINRESRC_H
+#ifndef MSVC4
 #include <winresrc.h>
+#else
+#include <winres.h>
+#endif
 #endif
 
 /* Some systems don't define this, so I do it myself if necessary */
@@ -8,6 +12,11 @@
 #define TCS_MULTILINE 0x0200
 #endif
 
+/* Likewise */
+#ifndef RT_MANIFEST
+#define RT_MANIFEST 24
+#endif
+
 #ifdef MINGW32_FIX
 #define EDITTEXT     EDITTEXT "",
 #endif
@@ -42,6 +51,7 @@ BEGIN
     DEFPUSHBUTTON "&Open", IDOK, 184, 235, 44, 14
     PUSHBUTTON "&Cancel", IDCANCEL, 231, 235, 44, 14
     PUSHBUTTON "&About", IDC_ABOUT, 3, 235, 44, 14, NOT WS_TABSTOP
+    PUSHBUTTON "&Help", IDC_HELPBTN, 50, 235, 44, 14, NOT WS_TABSTOP
 END
 
 /* Accelerators used: ac */
@@ -102,3 +112,5 @@ BEGIN
     LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 218, 206, 8
 
 END
+
+1 RT_MANIFEST "putty.mft"