summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/wx/content_panel.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 14204b588..5ad26c4d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-07-14 Carl Hetherington <cth@carlh.net>
+ * Fix occasional strange failure to allow content
+ selection (#636).
+
* Fix failure to encode 3D from separate content
in some cases (from 1.x) (#634).
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);
}
}
}