summaryrefslogtreecommitdiff
path: root/src/wx/content_sub_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-07 16:02:33 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-07 16:02:33 +0000
commitf61777543c611ed3ba818bf1c564322cb71b3009 (patch)
tree64368e19346a821e363fa8b93a6dc8ee65d2cae3 /src/wx/content_sub_panel.h
parentc51f4dd82ada91d5e1c2c6a9b61089195e1fa85d (diff)
Factor out some common stuff and give a better tooltip on the 'refer' buttons when no DCP is selected.
Diffstat (limited to 'src/wx/content_sub_panel.h')
-rw-r--r--src/wx/content_sub_panel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/content_sub_panel.h b/src/wx/content_sub_panel.h
index 5a1b739ef..0ad628f0c 100644
--- a/src/wx/content_sub_panel.h
+++ b/src/wx/content_sub_panel.h
@@ -26,6 +26,7 @@
class ContentPanel;
class Content;
+class DCPContent;
class ContentSubPanel : public wxPanel
{
@@ -39,6 +40,9 @@ public:
virtual void content_selection_changed () = 0;
protected:
+
+ void setup_refer_button (wxCheckBox* button, boost::shared_ptr<DCPContent> dcp, bool can_reference, std::list<std::string> why_not) const;
+
ContentPanel* _parent;
wxSizer* _sizer;
};