summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorcc_benny <cc_benny>2006-12-30 23:23:26 (GMT)
committercc_benny <cc_benny>2006-12-30 23:23:26 (GMT)
commitd6eea2e717aa9bd0ecffc7364dcd10e96733d8c6 (patch)
tree4165698bd1dd1655b35fd9154424a23da794dd1f /macosx
parent18181e55652d798704532f7a1ea07ea0abe802e0 (diff)
downloadtk-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')
-rw-r--r--macosx/ttkMacOSXTheme.c7
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.
*/