summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.
*/