summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-14 01:01:31 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-14 01:01:31 +0100
commit7375853f99cb3064ea24c2116db5330e066ffc5d (patch)
treeddd1db2fdaf7eecf1b1304992159ef0a36cad575 /src
parenta6a4671df0a6405f1ec8b03eebab90f55c909625 (diff)
Fix strange content selection breakage (#636).
Diffstat (limited to 'src')
-rw-r--r--src/wx/content_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index b3880da57..32ca3e494 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -429,7 +429,7 @@ ContentPanel::set_selection (weak_ptr<Content> wc)
if (content[i] == wc.lock ()) {
_content->SetItemState (i, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
} else {
- _content->SetItemState (i, 0, wxLIST_STATE_SELECTED | wxLIST_STATE_FOCUSED);
+ _content->SetItemState (i, 0, wxLIST_STATE_SELECTED);
}
}
}