summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-11-30 20:17:32 (GMT)
committerhobbs <hobbs>2005-11-30 20:17:32 (GMT)
commit48541e4ea98686188f6947b23ef87df52b1aed62 (patch)
tree416de2264b232394418b2e4512de3acd3348245f /macosx
parentfca91e92abed73725a55611475b3814d3b19e541 (diff)
downloadtk-48541e4ea98686188f6947b23ef87df52b1aed62.zip
tk-48541e4ea98686188f6947b23ef87df52b1aed62.tar.gz
tk-48541e4ea98686188f6947b23ef87df52b1aed62.tar.bz2
* macosx/tkMacOSXEvent.h: define
kEventAppAvailableWindowBoundsChanged for OS X < 10.3.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXEvent.h7
1 files changed, 6 insertions, 1 deletions
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