diff options
author | das <das> | 2005-04-09 11:40:15 (GMT) |
---|---|---|
committer | das <das> | 2005-04-09 11:40:15 (GMT) |
commit | 130bcef7f4d5f0ad9d65e5a79c28790422f75f42 (patch) | |
tree | 7b2182d0e169cbd3e4596d963b173923e0cf1230 /macosx/tkMacOSXEntry.c | |
parent | df915897d0a78c592952b816309c495e4b5f7b6c (diff) | |
download | tk-130bcef7f4d5f0ad9d65e5a79c28790422f75f42.zip tk-130bcef7f4d5f0ad9d65e5a79c28790422f75f42.tar.gz tk-130bcef7f4d5f0ad9d65e5a79c28790422f75f42.tar.bz2 |
* macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define
constants present only in 10.3 headers so that we can build on 10.2.
Diffstat (limited to 'macosx/tkMacOSXEntry.c')
-rw-r--r-- | macosx/tkMacOSXEntry.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/tkMacOSXEntry.c b/macosx/tkMacOSXEntry.c index afe52a7..ee67eb3 100644 --- a/macosx/tkMacOSXEntry.c +++ b/macosx/tkMacOSXEntry.c @@ -88,6 +88,12 @@ ComputeIncDecParameters (int height, int *width) /* * The small and mini incDec buttons were introduced in 10.3. */ + #ifndef kThemeIncDecButtonSmall + #define kThemeIncDecButtonSmall 21 + #endif + #ifndef kThemeIncDecButtonMini + #define kThemeIncDecButtonMini 22 + #endif if (version >= 0x1030) { if (height < 11 || height > 28) { |