summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-04-20 13:08:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-04-20 13:08:25 (GMT)
commitfd636b80ebd519e891807305cf5c22f69a03edd6 (patch)
treea307fbe160439173f7b28cc6fb4b6f2c7b005db3 /generic/tkWindow.c
parent48618f68cf19963ba025756c77672298c47b804c (diff)
downloadtk-fd636b80ebd519e891807305cf5c22f69a03edd6.zip
tk-fd636b80ebd519e891807305cf5c22f69a03edd6.tar.gz
tk-fd636b80ebd519e891807305cf5c22f69a03edd6.tar.bz2
* generic/tkWindow.c (commands): Ensure that all descriptions of
commands created by Tk are correct.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 250898c..40cf462 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -184,7 +184,7 @@ static const TkCmd commands[] = {
#if defined(__WIN32__) || defined(MAC_OSX_TK)
{"tk_chooseColor", NULL, Tk_ChooseColorObjCmd, NULL, PASSMAINWINDOW},
- {"tk_chooseDirectory", NULL, Tk_ChooseDirectoryObjCmd,NULL, 0, 1},
+ {"tk_chooseDirectory", NULL, Tk_ChooseDirectoryObjCmd,NULL,PASSMAINWINDOW},
{"tk_getOpenFile", NULL, Tk_GetOpenFileObjCmd, NULL, PASSMAINWINDOW},
{"tk_getSaveFile", NULL, Tk_GetSaveFileObjCmd, NULL, PASSMAINWINDOW},
{"tk_messageBox", NULL, Tk_MessageBoxObjCmd, NULL, PASSMAINWINDOW},