diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-05-24 21:21:50 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-05-24 21:21:50 (GMT) |
commit | b65d85162dedb58f38b13eb6eb5c0b301da8019f (patch) | |
tree | 2836d04e88373bf041c4491cdd8d5e090099db4f /macosx | |
parent | 01a25032cfc10068218178dd656db10fea2f3af2 (diff) | |
download | tk-b65d85162dedb58f38b13eb6eb5c0b301da8019f.zip tk-b65d85162dedb58f38b13eb6eb5c0b301da8019f.tar.gz tk-b65d85162dedb58f38b13eb6eb5c0b301da8019f.tar.bz2 |
The TIP specified a -detail option, not a -finemessage option.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXDialog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index 10fd586..5845e4a 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.9 2004/05/24 18:28:40 wolfsuit Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.10 2004/05/24 21:21:50 dkf Exp $ */ #include <Carbon/Carbon.h> @@ -1316,9 +1316,9 @@ Tk_MessageBoxObjCmd( int result = TCL_OK; static CONST char *movableAlertStrings[] = { - "-default", "-finemessage", "-icon", + "-default", "-detail", "-icon", "-message", "-parent", - "-title", "-type", + "-title", "-type", (char *)NULL }; static CONST char *movableTypeStrings[] = { @@ -1337,7 +1337,7 @@ Tk_MessageBoxObjCmd( (char *)NULL }; enum movableAlertOptions { - ALERT_DEFAULT, ALERT_FINEMESSAGE, ALERT_ICON, + ALERT_DEFAULT, ALERT_DETAIL, ALERT_ICON, ALERT_MESSAGE, ALERT_PARENT, ALERT_TITLE, ALERT_TYPE }; @@ -1422,7 +1422,7 @@ Tk_MessageBoxObjCmd( indexDefaultOption = i; break; - case ALERT_FINEMESSAGE: + case ALERT_DETAIL: str = Tcl_GetStringFromObj( objv[i + 1], NULL ); finemessageTextCF = CFStringCreateWithCString( NULL, str, kCFStringEncodingUTF8 ); break; |