summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-12 11:57:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-12 11:57:16 (GMT)
commitcb5357c61dfae8f487063e332ff8e2ac16fc57cb (patch)
tree0b6bc2fff7d3e8de388255c9c27cfbb0f04ca785 /generic
parent795cce8c77bd25ce0dd7ebdc3c9780be3314cc53 (diff)
downloadtk-cb5357c61dfae8f487063e332ff8e2ac16fc57cb.zip
tk-cb5357c61dfae8f487063e332ff8e2ac16fc57cb.tar.gz
tk-cb5357c61dfae8f487063e332ff8e2ac16fc57cb.tar.bz2
Missing Tk_GetPixelsFromObj(). Verify compatibility with old '-gripcount'
Diffstat (limited to 'generic')
-rw-r--r--generic/ttk/ttkElements.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/ttk/ttkElements.c b/generic/ttk/ttkElements.c
index 44ac5b6..698f460 100644
--- a/generic/ttk/ttkElements.c
+++ b/generic/ttk/ttkElements.c
@@ -514,6 +514,7 @@ static void SizegripDraw(
(void)dummy;
(void)state;
+ Tk_GetPixelsFromObj(NULL, tkwin, grip->gripSizeObj, &gripSize);
gripThickness = gripSize * 3 / (gripCount * 5);
gripSpace = gripSize / 3 - gripThickness;
while (gripCount--) {