diff options
author | cc_benny <cc_benny@noemail.net> | 2006-12-30 23:23:25 (GMT) |
---|---|---|
committer | cc_benny <cc_benny@noemail.net> | 2006-12-30 23:23:25 (GMT) |
commit | 885f21dc4743c5ef9a9d547bc1a46cd8166e5b4c (patch) | |
tree | 4165698bd1dd1655b35fd9154424a23da794dd1f | |
parent | 1fe3a6cb95ae74698140cdfb32a94da81dacc751 (diff) | |
download | tk-885f21dc4743c5ef9a9d547bc1a46cd8166e5b4c.zip tk-885f21dc4743c5ef9a9d547bc1a46cd8166e5b4c.tar.gz tk-885f21dc4743c5ef9a9d547bc1a46cd8166e5b4c.tar.bz2 |
* Define a constant to make it compile on Mac OS X 10.3.
FossilOrigin-Name: 12d4baa63f6b0dfae14a1a68b42882d190af2056
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index 47dca7b..e2bd709 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -1,5 +1,5 @@ /* - * $Id: ttkMacOSXTheme.c,v 1.4 2006/12/18 19:33:14 jenglish Exp $ + * $Id: ttkMacOSXTheme.c,v 1.5 2006/12/30 23:23:26 cc_benny Exp $ * * Tk theme engine for Mac OSX, using the Appearance Manager API. * @@ -31,6 +31,11 @@ #include "tkMacOSXInt.h" #include "ttk/ttkTheme.h" +/* Define a constant that was renamed for Mac OS X 10.4 */ +#if MAC_OS_X_VERSION_MAX_ALLOWED < 1040 +#define kThemeDisclosureTriangle kThemeDisclosureButton +#endif + /*---------------------------------------------------------------------- * +++ Utilities. */ |