summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--macosx/tkMacOSXEvent.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 247b9c3..a935e7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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