diff options
author | culler <culler> | 2019-10-25 01:20:33 (GMT) |
---|---|---|
committer | culler <culler> | 2019-10-25 01:20:33 (GMT) |
commit | 3de4cbbc489993b6024813ac1280dc27c7d78aaf (patch) | |
tree | f37438bc9b567e8f2ec34c463196269663898879 /generic/ttk | |
parent | fa0646fd8f6ed70a9a541a75eff5139ade72a47b (diff) | |
parent | 78e5c73c2979582c40a5cf0d8cd78e92d3767d11 (diff) | |
download | tk-3de4cbbc489993b6024813ac1280dc27c7d78aaf.zip tk-3de4cbbc489993b6024813ac1280dc27c7d78aaf.tar.gz tk-3de4cbbc489993b6024813ac1280dc27c7d78aaf.tar.bz2 |
Fix [b82bd4872b]: tk::style configure -compound does not work.
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkButton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/ttk/ttkButton.c b/generic/ttk/ttkButton.c index d05a514..5e5b262 100644 --- a/generic/ttk/ttkButton.c +++ b/generic/ttk/ttkButton.c @@ -85,7 +85,8 @@ static Tk_OptionSpec BaseOptionSpecs[] = */ {TK_OPTION_STRING_TABLE, "-compound", "compound", "Compound", "none", offsetof(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, offsetof(Base,base.paddingObj), -1, TK_OPTION_NULL_OK,0,GEOMETRY_CHANGED}, |