summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-09 07:25:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-09 07:25:45 (GMT)
commit368f8da4f51fcf99a5f0cfbef12664e03f9a941c (patch)
tree7aaeea00884af116c6e428fd60398506e2327f51 /generic/ttk
parentd2f61ae128c06b212e196d3b5ac1a6831564192b (diff)
downloadtk-368f8da4f51fcf99a5f0cfbef12664e03f9a941c.zip
tk-368f8da4f51fcf99a5f0cfbef12664e03f9a941c.tar.gz
tk-368f8da4f51fcf99a5f0cfbef12664e03f9a941c.tar.bz2
partly backport from 8.6
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkLabel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/ttk/ttkLabel.c b/generic/ttk/ttkLabel.c
index 52782ea..6dd1a9e 100644
--- a/generic/ttk/ttkLabel.c
+++ b/generic/ttk/ttkLabel.c
@@ -344,10 +344,14 @@ static void ImageDraw(
* stipple the image.
* @@@ Possibly: Don't do disabled-stippling at all;
* @@@ it's ugly and out of fashion.
+ * Do not stipple at all under Aqua, just draw the image: it shows up
+ * as a white rectangle otherwise.
*/
if (state & TTK_STATE_DISABLED) {
if (TtkSelectImage(image->imageSpec, 0ul) == image->tkimg) {
+#ifndef MAC_OSX_TK
StippleOver(image, tkwin, d, b.x,b.y);
+#endif
}
}
}