summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-08-09 07:25:45 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-08-09 07:25:45 (GMT)
commit847e8b35d6349f8581649fefcf81d20ed88855d3 (patch)
tree7aaeea00884af116c6e428fd60398506e2327f51 /generic
parent06298ca6986b32d0cefb401d3433ddd203ab736a (diff)
downloadtk-847e8b35d6349f8581649fefcf81d20ed88855d3.zip
tk-847e8b35d6349f8581649fefcf81d20ed88855d3.tar.gz
tk-847e8b35d6349f8581649fefcf81d20ed88855d3.tar.bz2
partly backport from 8.6
Diffstat (limited to 'generic')
-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
}
}
}