X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_sub_panel.h;h=3f8317bf9d95b295659e253d594872d847d278df;hb=295076f7bf8d84d19f22a073814968aab76aebcc;hp=08c61c25f84c617ff30fab855ef7cd10ef0cd4d9;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/wx/content_sub_panel.h b/src/wx/content_sub_panel.h index 08c61c25f..3f8317bf9 100644 --- a/src/wx/content_sub_panel.h +++ b/src/wx/content_sub_panel.h @@ -37,6 +37,8 @@ class ContentSubPanel : public wxScrolledWindow public: ContentSubPanel (ContentPanel *, wxString); + virtual void create () = 0; + virtual void film_changed (Film::Property) {} /** Called when a given property of one of the selected Contents changes */ virtual void film_content_changed (int) = 0; @@ -49,7 +51,8 @@ public: protected: - void setup_refer_button (wxCheckBox* button, wxStaticText* note, std::shared_ptr dcp, bool can_reference, wxString cannot) const; + void setup_refer_button (wxCheckBox* button, wxStaticText* note, std::shared_ptr dcp, bool can_reference, wxString cannot); + void layout (); virtual void add_to_grid () = 0; ContentPanel* _parent;