diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-15 00:03:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:58 +0100 |
| commit | 0e60f0e982a22f1642342b8d046a95c8813045a0 (patch) | |
| tree | d568230e4c63740668cdfe5a277ad68ecefd6a35 /src/wx/content_sub_panel.cc | |
| parent | 3d002a06ec31ab74cd260238b9f10f4de635aa7e (diff) | |
Remove reference checkboxes from video/audio/text tabs.
Diffstat (limited to 'src/wx/content_sub_panel.cc')
| -rw-r--r-- | src/wx/content_sub_panel.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/wx/content_sub_panel.cc b/src/wx/content_sub_panel.cc index 6bbc9a51f..10fdfa232 100644 --- a/src/wx/content_sub_panel.cc +++ b/src/wx/content_sub_panel.cc @@ -53,29 +53,6 @@ ContentSubPanel::ContentSubPanel (ContentPanel* p, wxString name) } 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 () { int x; |
