diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-01-12 11:57:16 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-01-12 11:57:16 (GMT) |
commit | cb5357c61dfae8f487063e332ff8e2ac16fc57cb (patch) | |
tree | 0b6bc2fff7d3e8de388255c9c27cfbb0f04ca785 /generic | |
parent | 795cce8c77bd25ce0dd7ebdc3c9780be3314cc53 (diff) | |
download | tk-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.c | 1 |
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--) { |