summaryrefslogtreecommitdiff
path: root/src/wx/content_sub_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
commitdea824f6ff41384a5e17e23de5434cf84eccff29 (patch)
treea40207882d506417cb5f456135b9ba4394535d00 /src/wx/content_sub_panel.h
parent9cbe57dda759fccfa9dec8a0820114d7d8583a36 (diff)
Display only required tabs, including subs / ccap.
Diffstat (limited to 'src/wx/content_sub_panel.h')
-rw-r--r--src/wx/content_sub_panel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/content_sub_panel.h b/src/wx/content_sub_panel.h
index 9afd50d40..8c7854af2 100644
--- a/src/wx/content_sub_panel.h
+++ b/src/wx/content_sub_panel.h
@@ -40,12 +40,17 @@ public:
/** Called when the list of selected Contents changes */
virtual void content_selection_changed () = 0;
+ wxString name () const {
+ return _name;
+ }
+
protected:
void setup_refer_button (wxCheckBox* button, wxStaticText* note, boost::shared_ptr<DCPContent> dcp, bool can_reference, std::string why_not) const;
ContentPanel* _parent;
wxSizer* _sizer;
+ wxString _name;
};
#endif