From eb70535f7cae9c009252a4c7c7116af5ab8237d0 Mon Sep 17 00:00:00 2001 From: das Date: Sat, 9 Apr 2005 11:40:55 +0000 Subject: * macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define constants present only in 10.3 headers so that we can build on 10.2. --- ChangeLog | 3 +++ macosx/tkMacOSXEntry.c | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index a166629..9072f4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-04-09 Daniel Steffen + * macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define + constants present only in 10.3 headers so that we can build on 10.2. + * macosx/Wish.pbproj/project.pbxproj: fixed absolute path to tkEntry.h that confused 10.2 PBX. 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) { -- cgit v0.12