summaryrefslogtreecommitdiffstats
path: root/mac/tkMacWm.c
diff options
context:
space:
mode:
authordas <das>2001-11-23 02:04:08 (GMT)
committerdas <das>2001-11-23 02:04:08 (GMT)
commit555e27daed13d9ab8603272008a3dfa36809d9f5 (patch)
tree0d0864ac4fc0b0ff178f5869f1600d2c584109c8 /mac/tkMacWm.c
parentb251d118045d610f59c32bfbc562f14c1b81c22c (diff)
downloadtk-555e27daed13d9ab8603272008a3dfa36809d9f5.zip
tk-555e27daed13d9ab8603272008a3dfa36809d9f5.tar.gz
tk-555e27daed13d9ab8603272008a3dfa36809d9f5.tar.bz2
** upport to 8.4 of mac code changes for 8.3.3 & various new
** changes for 8.4, some already backported to 8.3.4 (patch #435660) see ChangeLog for details
Diffstat (limited to 'mac/tkMacWm.c')
-rw-r--r--mac/tkMacWm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mac/tkMacWm.c b/mac/tkMacWm.c
index 23b7fd7..ee53e59 100644
--- a/mac/tkMacWm.c
+++ b/mac/tkMacWm.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacWm.c,v 1.11 2001/08/06 18:29:41 dgp Exp $
+ * RCS: @(#) $Id: tkMacWm.c,v 1.12 2001/11/23 02:06:44 das Exp $
*/
#include <Gestalt.h>
@@ -4534,7 +4534,12 @@ TkMacHaveAppearance()
if (err == noErr) {
TkMacHaveAppearance = 1;
}
+/* even if AppearanceManager 1.1 routines are present,
+we can't call them from 68K code, so we pretend
+to be running Apperarance Mgr 1.0 */
+#if !(GENERATING68K && !GENERATINGCFM)
err = Gestalt(gestaltAppearanceVersion, &response);
+#endif
if (err == noErr) {
TkMacHaveAppearance = (int) response;
}