summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-08-08 01:42:44 (GMT)
committerhobbs <hobbs>2002-08-08 01:42:44 (GMT)
commit28623411358deaf11def089ae8ebf32bce8dc86f (patch)
treefd2b23f723ecac7237486a20b3385b367b1788a5
parentfbc0f851153deeb341f9fbcffd79acfc126fd66a (diff)
downloadtk-28623411358deaf11def089ae8ebf32bce8dc86f.zip
tk-28623411358deaf11def089ae8ebf32bce8dc86f.tar.gz
tk-28623411358deaf11def089ae8ebf32bce8dc86f.tar.bz2
* win/tkWinDialog.c: enabled use of the updated native Windows
directory browser (tk_chooseDirectory). This does require shell32.dll v4.71 or greater. [Patch #468139]
-rw-r--r--win/tkWinDialog.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 6669b09..58fdfe0 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.27 2002/07/11 22:42:40 hobbs Exp $
+ * RCS: @(#) $Id: tkWinDialog.c,v 1.28 2002/08/08 01:42:44 hobbs Exp $
*
*/
@@ -20,13 +20,9 @@
#include <cderr.h> /* includes the common dialog error codes */
/*
- * The new choose directory dialog is almost ready for prime time, but
- * it has a very long first load time that needs to be checked to see
- * if it can be sped up, as well as checked for cleanup. -- hobbs
- * See Patch #468139
- *
-#define USE_NEW_CHOOSEDIR 1
+ * This controls the use of the new style tk_chooseDirectory dialog.
*/
+#define USE_NEW_CHOOSEDIR 1
#ifdef USE_NEW_CHOOSEDIR
#include <shlobj.h> /* includes SHBrowseForFolder */