Allow RGB24 in textures.
[dcpomatic.git] / src / wx / content_sub_panel.h
index 08c61c25f84c617ff30fab855ef7cd10ef0cd4d9..3f8317bf9d95b295659e253d594872d847d278df 100644 (file)
@@ -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<DCPContent> dcp, bool can_reference, wxString cannot) const;
+       void setup_refer_button (wxCheckBox* button, wxStaticText* note, std::shared_ptr<DCPContent> dcp, bool can_reference, wxString cannot);
+       void layout ();
        virtual void add_to_grid () = 0;
 
        ContentPanel* _parent;