diff options
author | cc_benny <cc_benny> | 2006-12-30 23:23:26 (GMT) |
---|---|---|
committer | cc_benny <cc_benny> | 2006-12-30 23:23:26 (GMT) |
commit | d6eea2e717aa9bd0ecffc7364dcd10e96733d8c6 (patch) | |
tree | 4165698bd1dd1655b35fd9154424a23da794dd1f /macosx/ttkMacOSXTheme.c | |
parent | 18181e55652d798704532f7a1ea07ea0abe802e0 (diff) | |
download | tk-d6eea2e717aa9bd0ecffc7364dcd10e96733d8c6.zip tk-d6eea2e717aa9bd0ecffc7364dcd10e96733d8c6.tar.gz tk-d6eea2e717aa9bd0ecffc7364dcd10e96733d8c6.tar.bz2 |
* Define a constant to make it compile on Mac OS X 10.3.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-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. */ |