summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-26 01:29:32 +0100
committerCarl Hetherington <cth@carlh.net>2018-10-26 01:29:32 +0100
commit47bf227f163b3dca8b07ae593f067793bccaefc8 (patch)
tree8da4f748a084cc103563a924da49e22c51714e34 /src
parent2c35515c5db7b8e49c17fd4ddfa085393d544f9d (diff)
Flip SPL list and content list.
Diffstat (limited to 'src')
-rw-r--r--src/wx/controls.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc
index 747d21061..d8df6f2f3 100644
--- a/src/wx/controls.cc
+++ b/src/wx/controls.cc
@@ -89,6 +89,10 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor
wxBoxSizer* left_sizer = new wxBoxSizer (wxVERTICAL);
+ _spl_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
+ _spl_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 740);
+ left_sizer->Add (_spl_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
+
_content_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
/* time */
_content_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 80);
@@ -98,10 +102,6 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor
_content_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 580);
left_sizer->Add (_content_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
- _spl_view = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxLC_NO_HEADER);
- _spl_view->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 740);
- left_sizer->Add (_spl_view, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);
-
wxBoxSizer* e_sizer = new wxBoxSizer (wxHORIZONTAL);
e_sizer->Add (left_sizer, 1, wxALL | wxEXPAND, DCPOMATIC_SIZER_GAP);