diff options
author | das <das> | 2005-11-27 06:37:31 (GMT) |
---|---|---|
committer | das <das> | 2005-11-27 06:37:31 (GMT) |
commit | 1bcf46cb3f198f07466a28b2ca4b8d7a54c41b72 (patch) | |
tree | 219662b3768c63a6f26ce905e23406acd5156c80 /macosx/tkMacOSXMenu.c | |
parent | fe7ec113d4d7be4b2543e1e0cf6d21a74aef667d (diff) | |
download | tk-1bcf46cb3f198f07466a28b2ca4b8d7a54c41b72.zip tk-1bcf46cb3f198f07466a28b2ca4b8d7a54c41b72.tar.gz tk-1bcf46cb3f198f07466a28b2ca4b8d7a54c41b72.tar.bz2 |
* macosx/tkMacOSXMenu.c:
* macosx/tkMacOSXMenubutton.c: define OSX 10.3 or later only constants
if necessary to allow compilation on OSX 10.2
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index 138d741..9b11c88 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.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: tkMacOSXMenu.c,v 1.21 2005/11/27 02:36:15 das Exp $ + * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.22 2005/11/27 06:37:31 das Exp $ */ #include "tkMacOSXInt.h" #include "tkMenubutton.h" @@ -18,6 +18,12 @@ #include "tkMacOSXInt.h" #undef Status +#if !defined(MAC_OS_X_VERSION_10_3) || \ + (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3) + /* Define constants only available on Mac OS X 10.3 or later */ + #define kMenuAttrDoNotUseUserCommandKeys = (1 << 7) +#endif + #define USE_TK_MDEF //#define USE_ATSU |