diff options
author | das <das@noemail.net> | 2005-04-09 11:40:55 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2005-04-09 11:40:55 (GMT) |
commit | c8936842b104f90acf07646e92a474cb6ab392c9 (patch) | |
tree | bda6a5f75c9adff5a66973832bca09e4ff9580dc /macosx/tkMacOSXEntry.c | |
parent | d1c94890cba29613410ece371c10c761d2a26216 (diff) | |
download | tk-c8936842b104f90acf07646e92a474cb6ab392c9.zip tk-c8936842b104f90acf07646e92a474cb6ab392c9.tar.gz tk-c8936842b104f90acf07646e92a474cb6ab392c9.tar.bz2 |
* macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define
constants present only in 10.3 headers so that we can build on 10.2.
FossilOrigin-Name: cbcad2382df715bdb39d26715da4493bdda557b7
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) { |