summaryrefslogtreecommitdiffstats
path: root/win/ttkWinXPTheme.c
diff options
context:
space:
mode:
authorbll <brad.lanam.comp@gmail.com>2020-05-24 15:00:22 (GMT)
committerbll <brad.lanam.comp@gmail.com>2020-05-24 15:00:22 (GMT)
commit5da5fa8645eacfb6a876212e959f93a6603e1c5b (patch)
treebc1110acd7b8af94f12759dabb33e1e331b6815b /win/ttkWinXPTheme.c
parent36975c88f715a973f160b5f6627d89965ebbb06e (diff)
downloadtk-5da5fa8645eacfb6a876212e959f93a6603e1c5b.zip
tk-5da5fa8645eacfb6a876212e959f93a6603e1c5b.tar.gz
tk-5da5fa8645eacfb6a876212e959f93a6603e1c5b.tar.bz2
Add FETCH_ONCE to the treeview indicator also.
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r--win/ttkWinXPTheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index f91be9b..3252a18 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -1058,7 +1058,7 @@ static ElementInfo ElementInfoTable[] = {
{ "Treeview.field", &GenericElementSpec, L"TREEVIEW",
TVP_TREEITEM, treeview_statemap, PAD(1, 1, 1, 1), IGNORE_THEMESIZE },
{ "Treeitem.indicator", &TreeIndicatorElementSpec, L"TREEVIEW",
- TVP_GLYPH, tvpglyph_statemap, PAD(1,1,6,0), PAD_MARGINS },
+ TVP_GLYPH, tvpglyph_statemap, PAD(1,1,6,0), PAD_MARGINS | FETCH_ONCE },
{ "Treeheading.border", &GenericElementSpec, L"HEADER",
HP_HEADERITEM, header_statemap, PAD(4,0,4,0),0 },
{ "sizegrip", &GenericElementSpec, L"STATUS",