From 78e5c73c2979582c40a5cf0d8cd78e92d3767d11 Mon Sep 17 00:00:00 2001 From: culler Date: Fri, 25 Oct 2019 01:15:39 +0000 Subject: Fix [b82bd4872b]: tk::style configure -compound does not work. --- generic/ttk/ttkButton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}, -- cgit v0.12