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 | 30a07385483c19fae7051f5c636e363dc1221f2e (patch) | |
tree | 4165698bd1dd1655b35fd9154424a23da794dd1f /macosx | |
parent | 39078b96869cebbc5912a8b6d68cd87e3f3d6a87 (diff) | |
download | tk-30a07385483c19fae7051f5c636e363dc1221f2e.zip tk-30a07385483c19fae7051f5c636e363dc1221f2e.tar.gz tk-30a07385483c19fae7051f5c636e363dc1221f2e.tar.bz2 |
* Define a constant to make it compile on Mac OS X 10.3.
Diffstat (limited to 'macosx')
-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. */ |