summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXColor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/tkMacOSXColor.c b/macosx/tkMacOSXColor.c
index 45c63c8..9d65ac9 100644
--- a/macosx/tkMacOSXColor.c
+++ b/macosx/tkMacOSXColor.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXColor.c,v 1.6 2006/09/11 14:41:04 das Exp $
+ * RCS: @(#) $Id: tkMacOSXColor.c,v 1.7 2006/11/03 03:05:03 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -129,6 +129,7 @@ TkSetMacColor(
}
}
+#if !TK_DRAW_IN_CONTEXT
/*
*----------------------------------------------------------------------
*
@@ -157,6 +158,7 @@ TkMacOSXCompareColors(
TkSetMacColor(c1,&col2) &&
!memcmp(&col1,&col2,sizeof(col1));
}
+#endif /* !TK_DRAW_IN_CONTEXT */
/*
*----------------------------------------------------------------------