summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkLabel.c
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)
commit6a53e1bcab0c83c50e6a686c0ac485687ff29b8f (patch)
tree7aaeea00884af116c6e428fd60398506e2327f51 /generic/ttk/ttkLabel.c
parent3938a19b4a11bdae6dd2549706c83f8cac1e8b94 (diff)
downloadtk-6a53e1bcab0c83c50e6a686c0ac485687ff29b8f.zip
tk-6a53e1bcab0c83c50e6a686c0ac485687ff29b8f.tar.gz
tk-6a53e1bcab0c83c50e6a686c0ac485687ff29b8f.tar.bz2
partly backport from 8.6
Diffstat (limited to 'generic/ttk/ttkLabel.c')
-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
}
}
}