summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-08-14 15:31:21 (GMT)
committervincentdarley <vincentdarley>2002-08-14 15:31:21 (GMT)
commit2ef516f29db94e05730be54dcbb6ce0346e9b08d (patch)
tree57db136414a0d910f8cbaeff3898dad98167f543 /win/tkWinDialog.c
parentc42a2423c64002a8cc53dd48a0ba96c6664e7c9a (diff)
downloadtk-2ef516f29db94e05730be54dcbb6ce0346e9b08d.zip
tk-2ef516f29db94e05730be54dcbb6ce0346e9b08d.tar.gz
tk-2ef516f29db94e05730be54dcbb6ce0346e9b08d.tar.bz2
compilation, link fixes
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 58fdfe0..eb3bd42 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinDialog.c,v 1.28 2002/08/08 01:42:44 hobbs Exp $
+ * RCS: @(#) $Id: tkWinDialog.c,v 1.29 2002/08/14 15:31:21 vincentdarley Exp $
*
*/
@@ -26,6 +26,21 @@
#ifdef USE_NEW_CHOOSEDIR
#include <shlobj.h> /* includes SHBrowseForFolder */
+/* These needed for compilation with VC++ 5.2 */
+#ifndef BIF_EDITBOX
+#define BIF_EDITBOX 0x10
+#endif
+#ifndef BIF_VALIDATE
+#define BIF_VALIDATE 0x0020
+#endif
+#ifndef BFFM_VALIDATEFAILED
+#ifdef UNICODE
+#define BFFM_VALIDATEFAILED 4
+#else
+#define BFFM_VALIDATEFAILED 3
+#endif
+#endif
+
/*
* The following structure is used by the new Tk_ChooseDirectoryObjCmd
* to pass data between it and its callback. Unqiue to Winodws platform.