summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-05-24 21:21:50 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-05-24 21:21:50 (GMT)
commitad33bd4b272e24e3beaee6168328e77fecebace4 (patch)
tree2836d04e88373bf041c4491cdd8d5e090099db4f /macosx
parent547207fe06ecee21456e7f6dc4afd5669f0b33c8 (diff)
downloadtk-ad33bd4b272e24e3beaee6168328e77fecebace4.zip
tk-ad33bd4b272e24e3beaee6168328e77fecebace4.tar.gz
tk-ad33bd4b272e24e3beaee6168328e77fecebace4.tar.bz2
The TIP specified a -detail option, not a -finemessage option.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDialog.c10
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;