Remove reference checkboxes from video/audio/text tabs.
[dcpomatic.git] / src / wx / content_sub_panel.cc
index 6bbc9a51fcae43a89ad9e785ec99e2242fb266cb..10fdfa232e41e32027e7786bafc56e04f94dfb0d 100644 (file)
@@ -52,29 +52,6 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name)
        _sizer->Add (_grid, 0, wxALL, 8);
 }
 
-void
-ContentSubPanel::setup_refer_button (wxCheckBox* button, wxStaticText* note, shared_ptr<DCPContent> dcp, bool can_reference, wxString cannot)
-{
-       button->Enable (can_reference);
-
-       if (dcp && !can_reference) {
-               note->SetLabel (cannot);
-       } else {
-               note->SetLabel (wxT(""));
-       }
-
-       note->Wrap (400);
-
-       if (cannot.IsEmpty()) {
-               note->Hide ();
-       } else {
-               note->Show ();
-       }
-
-       layout ();
-}
-
-
 void
 ContentSubPanel::layout ()
 {