diff options
author | wolfsuit <wolfsuit@noemail.net> | 2004-02-16 00:42:32 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit@noemail.net> | 2004-02-16 00:42:32 (GMT) |
commit | ec54861ba969c9a343d9fc7aa79477889dad1cb8 (patch) | |
tree | 12bebf3e6d48b35ab147bf17d2c87861606f8460 /generic | |
parent | 4a8260dea385cb403a930ccd19bd3eb532495dfa (diff) | |
download | tk-ec54861ba969c9a343d9fc7aa79477889dad1cb8.zip tk-ec54861ba969c9a343d9fc7aa79477889dad1cb8.tar.gz tk-ec54861ba969c9a343d9fc7aa79477889dad1cb8.tar.bz2 |
Backport Mac OS X specific fixes from TOT. See ChangeLog for details.
In tk_getOpenFile filters, handle the case where you have a Macintosh
file type and the files have no filetype.
Fix various formatting nits.
FossilOrigin-Name: 834854dbdc52160c4050e54c91e1ffa91c9efbb0
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 4fc47fd..7efee6d 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWindow.c,v 1.56.2.1 2003/07/16 22:54:26 hobbs Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.56.2.2 2004/02/16 00:42:34 wolfsuit Exp $ */ #include "tkPort.h" @@ -142,7 +142,7 @@ static TkCmd commands[] = { {"tk_getOpenFile", NULL, Tk_GetOpenFileObjCmd, 0, 1}, {"tk_getSaveFile", NULL, Tk_GetSaveFileObjCmd, 0, 1}, #endif -#ifdef __WIN32__ +#if defined(__WIN32__) || defined(MAC_OSX_TK) {"tk_messageBox", NULL, Tk_MessageBoxObjCmd, 0, 1}, #endif {"update", NULL, Tk_UpdateObjCmd, 1, 1}, |