summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2019-10-25 01:15:39 (GMT)
committerculler <culler>2019-10-25 01:15:39 (GMT)
commit78e5c73c2979582c40a5cf0d8cd78e92d3767d11 (patch)
treef596036ef3c778ea8c312d56a3ea521498d4caa3
parentc3e50c2a97a47cd421f3765d93517058d08c0494 (diff)
downloadtk-78e5c73c2979582c40a5cf0d8cd78e92d3767d11.zip
tk-78e5c73c2979582c40a5cf0d8cd78e92d3767d11.tar.gz
tk-78e5c73c2979582c40a5cf0d8cd78e92d3767d11.tar.bz2
Fix [b82bd4872b]: tk::style configure -compound does not work.
-rw-r--r--generic/ttk/ttkButton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/ttk/ttkButton.c b/generic/ttk/ttkButton.c
index 68a6293..72e9815 100644
--- a/generic/ttk/ttkButton.c
+++ b/generic/ttk/ttkButton.c
@@ -82,7 +82,8 @@ static Tk_OptionSpec BaseOptionSpecs[] =
*/
{TK_OPTION_STRING_TABLE, "-compound", "compound", "Compound",
"none", Tk_Offset(Base,base.compoundObj), -1,
- 0,(ClientData)ttkCompoundStrings,GEOMETRY_CHANGED },
+ TK_OPTION_DONT_SET_DEFAULT,(ClientData)ttkCompoundStrings,
+ GEOMETRY_CHANGED },
{TK_OPTION_STRING, "-padding", "padding", "Pad",
NULL, Tk_Offset(Base,base.paddingObj), -1,
TK_OPTION_NULL_OK,0,GEOMETRY_CHANGED},