Flip SPL list and content list.
authorCarl Hetherington <cth@carlh.net>
Fri, 26 Oct 2018 00:29:32 +0000 (01:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 26 Oct 2018 00:29:32 +0000 (01:29 +0100)
src/wx/controls.cc

index 747d2106171ca53912dd632363429f1639f0c816..d8df6f2f3d255d787f20be63428dfbf3d994e1e8 100644 (file)
@@ -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);