summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-20 09:20:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-20 09:20:32 (GMT)
commit3a75326e43c5f04164e7b9747d8e8e1b081cbe01 (patch)
treedfa182d5d6cfbb9dd4cc28c47818ab2fedf239a9 /win
parent9fd716587273d2aabf8b67fb6d6110c0cd2e486a (diff)
downloadtk-3a75326e43c5f04164e7b9747d8e8e1b081cbe01.zip
tk-3a75326e43c5f04164e7b9747d8e8e1b081cbe01.tar.gz
tk-3a75326e43c5f04164e7b9747d8e8e1b081cbe01.tar.bz2
- Fix winDialog-9.7 test in case "initialdir" contains capital characters.
- Add "uuid.lib" as requirement for tkWinDialog.c
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index ee30806..fd5b809 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -14,9 +14,6 @@
#include "tkFont.h"
#include <commdlg.h> /* includes common dialog functionality */
-#ifdef _MSC_VER
-# pragma comment (lib, "comdlg32.lib")
-#endif
#include <dlgs.h> /* includes common dialog template defines */
#include <cderr.h> /* includes the common dialog error codes */
@@ -25,6 +22,8 @@
#ifdef _MSC_VER
# pragma comment (lib, "shell32.lib")
+# pragma comment (lib, "comdlg32.lib")
+# pragma comment (lib, "uuid.lib")
#endif
/* These needed for compilation with VC++ 5.2 */