diff options
author | das <das> | 2005-04-09 11:40:15 (GMT) |
---|---|---|
committer | das <das> | 2005-04-09 11:40:15 (GMT) |
commit | 97fa04981a52c9ca83e72a4106de5e102dd65fa3 (patch) | |
tree | 7b2182d0e169cbd3e4596d963b173923e0cf1230 | |
parent | c1ea7a1d7ba6d3fc7ef5e03e33b89b5ec68c1797 (diff) | |
download | tk-97fa04981a52c9ca83e72a4106de5e102dd65fa3.zip tk-97fa04981a52c9ca83e72a4106de5e102dd65fa3.tar.gz tk-97fa04981a52c9ca83e72a4106de5e102dd65fa3.tar.bz2 |
* macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define
constants present only in 10.3 headers so that we can build on 10.2.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | macosx/tkMacOSXEntry.c | 6 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2005-04-09 Daniel Steffen <das@users.sourceforge.net> + * 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) { |