summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkLabel.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-14 12:59:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-14 12:59:56 (GMT)
commitc8d797e64f30f341f39bb2d24cb557342ab182cd (patch)
tree97904217c85d2d0508c7823ed0f4e5f8a42bd671 /generic/ttk/ttkLabel.c
parent9dd438cc2c26863bb963e9e6fad660ad9a2ad605 (diff)
parent384e8936ee8f4826db8273ae8423213c0aa59e45 (diff)
downloadtk-c8d797e64f30f341f39bb2d24cb557342ab182cd.zip
tk-c8d797e64f30f341f39bb2d24cb557342ab182cd.tar.gz
tk-c8d797e64f30f341f39bb2d24cb557342ab182cd.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/ttk/ttkLabel.c')
-rw-r--r--generic/ttk/ttkLabel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkLabel.c b/generic/ttk/ttkLabel.c
index d94cb23..9e09195 100644
--- a/generic/ttk/ttkLabel.c
+++ b/generic/ttk/ttkLabel.c
@@ -336,7 +336,7 @@ static int ImageSetup(
if (!image->imageSpec) {
return 0;
}
- image->tkimg = TtkSelectImage(image->imageSpec, state);
+ image->tkimg = TtkSelectImage(image->imageSpec, tkwin, state);
if (!image->tkimg) {
TtkFreeImageSpec(image->imageSpec);
return 0;
@@ -410,7 +410,7 @@ static void ImageDraw(
if (state & TTK_STATE_DISABLED) {
- if (TtkSelectImage(image->imageSpec, 0ul) == image->tkimg) {
+ if (TtkSelectImage(image->imageSpec, tkwin, 0ul) == image->tkimg) {
#ifndef MAC_OSX_TK
StippleOver(image, tkwin, d, b.x,b.y);
#endif