diff options
author | vincentdarley <vincentdarley@noemail.net> | 2002-08-14 15:31:21 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2002-08-14 15:31:21 (GMT) |
commit | 12f2bc8bd8f03ac00740ba01093ef8c2540c7560 (patch) | |
tree | 57db136414a0d910f8cbaeff3898dad98167f543 /win/tkWinDialog.c | |
parent | 5956bd2f0a0b0e2b88931950ad5577c409df1d81 (diff) | |
download | tk-12f2bc8bd8f03ac00740ba01093ef8c2540c7560.zip tk-12f2bc8bd8f03ac00740ba01093ef8c2540c7560.tar.gz tk-12f2bc8bd8f03ac00740ba01093ef8c2540c7560.tar.bz2 |
compilation, link fixes
FossilOrigin-Name: 9181c8821a0c9b8289012bf19c929868e0e09dec
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r-- | win/tkWinDialog.c | 17 |
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. |