summaryrefslogtreecommitdiffstats
path: root/generic/tkMenuDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-15 22:51:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-15 22:51:46 (GMT)
commita1b1d6db602ab478b5c76cf38708ffc778926b93 (patch)
treebb516f8f7a5d62a6ba3ef9b30ff47c3766cf4524 /generic/tkMenuDraw.c
parent1869d717b143a3e9eeab3da4aa5157c724257679 (diff)
parent9417cb6234ab75772d6cd58527904a0e41e86483 (diff)
downloadtk-a1b1d6db602ab478b5c76cf38708ffc778926b93.zip
tk-a1b1d6db602ab478b5c76cf38708ffc778926b93.tar.gz
tk-a1b1d6db602ab478b5c76cf38708ffc778926b93.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tkMenuDraw.c')
-rw-r--r--generic/tkMenuDraw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tkMenuDraw.c b/generic/tkMenuDraw.c
index 62ab105..275b9f5 100644
--- a/generic/tkMenuDraw.c
+++ b/generic/tkMenuDraw.c
@@ -626,7 +626,6 @@ DisplayMenu(
int width;
int borderWidth;
Tk_3DBorder border;
- int relief;
menuPtr->menuFlags &= ~REDRAW_PENDING;
@@ -732,10 +731,9 @@ DisplayMenu(
width, height, 0, TK_RELIEF_FLAT);
}
- Tk_GetReliefFromObj(NULL, menuPtr->reliefPtr, &relief);
Tk_Draw3DRectangle(menuPtr->tkwin, Tk_WindowId(tkwin),
border, 0, 0, Tk_Width(tkwin), Tk_Height(tkwin), borderWidth,
- relief);
+ menuPtr->relief);
}
/*