diff options
author | hobbs <hobbs@noemail.net> | 2002-07-11 22:42:39 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2002-07-11 22:42:39 (GMT) |
commit | 8464e0f7636a70c65aa412812f1f7d70df195cb9 (patch) | |
tree | f7a4c099747d25d9aa2560e1bf3ff15511122ac8 /win/tkWinDialog.c | |
parent | 2d0a3e5e834358702526085d5704c14a5be3bc0d (diff) | |
download | tk-8464e0f7636a70c65aa412812f1f7d70df195cb9.zip tk-8464e0f7636a70c65aa412812f1f7d70df195cb9.tar.gz tk-8464e0f7636a70c65aa412812f1f7d70df195cb9.tar.bz2 |
* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): initialize
utfTitle to NULL, add a few more notes about limitations of
possible new Tk_ChooseDirectoryObjCmd function.
FossilOrigin-Name: ebbd6e32a7c384b9ef813d0af55f3534ce50218b
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r-- | win/tkWinDialog.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c index e75d18b..6669b09 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.26 2002/04/12 07:18:49 hobbs Exp $ + * RCS: @(#) $Id: tkWinDialog.c,v 1.27 2002/07/11 22:42:40 hobbs Exp $ * */ @@ -1627,8 +1627,12 @@ New Behaviour: held open to allow further modification by the user. - Not sure how to implement localization of message prompts. + +- -title is really -message. ToDo: - Fix bugs. +- test to see what platforms this really works on. May require v4.71 + of shell32.dll everywhere (what is standard?). * */ int @@ -1663,11 +1667,12 @@ Tk_ChooseDirectoryObjCmd(clientData, interp, objc, objv) /* * Initialize */ - result = TCL_ERROR; - path[0] = '\0'; + result = TCL_ERROR; + path[0] = '\0'; + utfTitle = NULL; ZeroMemory(&cdCBData, sizeof(CHOOSEDIRDATA)); - cdCBData.interp = interp; + cdCBData.interp = interp; tkwin = (Tk_Window) clientData; /* |