diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-14 01:01:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-14 01:01:31 +0100 |
| commit | 7375853f99cb3064ea24c2116db5330e066ffc5d (patch) | |
| tree | ddd1db2fdaf7eecf1b1304992159ef0a36cad575 | |
| parent | a6a4671df0a6405f1ec8b03eebab90f55c909625 (diff) | |
Fix strange content selection breakage (#636).
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | src/wx/content_panel.cc | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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); } } } |
