diff options
author | hobbs <hobbs> | 2005-11-30 20:17:32 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-11-30 20:17:32 (GMT) |
commit | 48541e4ea98686188f6947b23ef87df52b1aed62 (patch) | |
tree | 416de2264b232394418b2e4512de3acd3348245f | |
parent | fca91e92abed73725a55611475b3814d3b19e541 (diff) | |
download | tk-48541e4ea98686188f6947b23ef87df52b1aed62.zip tk-48541e4ea98686188f6947b23ef87df52b1aed62.tar.gz tk-48541e4ea98686188f6947b23ef87df52b1aed62.tar.bz2 |
* macosx/tkMacOSXEvent.h: define
kEventAppAvailableWindowBoundsChanged for OS X < 10.3.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | macosx/tkMacOSXEvent.h | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-11-30 Jeff Hobbs <jeffh@ActiveState.com> + + * macosx/tkMacOSXEvent.h: define + kEventAppAvailableWindowBoundsChanged for OS X < 10.3. + 2005-11-29 Jeff Hobbs <jeffh@ActiveState.com> * library/console.tcl (::tk::ConsoleInit): improve work-around to diff --git a/macosx/tkMacOSXEvent.h b/macosx/tkMacOSXEvent.h index a1d8d33..2d09225 100644 --- a/macosx/tkMacOSXEvent.h +++ b/macosx/tkMacOSXEvent.h @@ -50,7 +50,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXEvent.h,v 1.3.2.3 2005/11/27 02:36:46 das Exp $ + * RCS: @(#) $Id: tkMacOSXEvent.h,v 1.3.2.4 2005/11/30 20:17:32 hobbs Exp $ */ #ifndef _TKMACEVENT @@ -99,5 +99,10 @@ int TkMacOSXKeycodeToUnicode( OSStatus TkMacOSXStartTclEventLoopCarbonTimer(); OSStatus TkMacOSXStopTclEventLoopCarbonTimer(); +#if !defined(MAC_OS_X_VERSION_10_3) || \ + (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_3) +/* Define constants only available on Mac OS X 10.3 or later */ +enum { kEventAppAvailableWindowBoundsChanged = 110 }; +#endif #endif |