summaryrefslogtreecommitdiff
path: root/src/wx/controls.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-24 23:14:41 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-24 23:14:41 +0100
commitd0d89009ad0acca0ddfa43dc45d8ac4186c5fc21 (patch)
treee60d03979d5e07b00db12f6bcc36d38c9fff945e /src/wx/controls.cc
parent87e1a067e3fdc83b1d6aa840d3448586c48742fb (diff)
More Controls API tweaks.
Diffstat (limited to 'src/wx/controls.cc')
-rw-r--r--src/wx/controls.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc
index 4ad1f6c23..e96d8055e 100644
--- a/src/wx/controls.cc
+++ b/src/wx/controls.cc
@@ -33,7 +33,7 @@ using boost::optional;
using boost::shared_ptr;
using boost::weak_ptr;
-Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor_controls, bool dcp_directory)
+Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor_controls)
: wxPanel (parent)
, _viewer (viewer)
, _slider_being_moved (false)
@@ -76,7 +76,7 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor
_dcp_directory = new wxListCtrl (this, wxID_ANY, wxDefaultPosition, wxSize(600, -1), wxLC_REPORT | wxLC_NO_HEADER);
_dcp_directory->AppendColumn (wxT(""), wxLIST_FORMAT_LEFT, 580);
_v_sizer->Add (_dcp_directory, 0, wxALL, DCPOMATIC_SIZER_GAP);
- _dcp_directory->Show (dcp_directory);
+ _dcp_directory->Show (false);
wxBoxSizer* h_sizer = new wxBoxSizer (wxHORIZONTAL);
@@ -446,7 +446,7 @@ Controls::film () const
}
void
-Controls::show_dcp_directory (bool s)
+Controls::show_extended_player_controls (bool s)
{
_dcp_directory->Show (s);
}