Fix strange layout problems with the content sub panels (#2059).
[dcpomatic.git] / src / wx / content_sub_panel.h
index cb59f38ddf45346a5c04780d384d801fe8ccc521..2a7bc4f75e05b9800fa48b115d7d2d153c3a5d59 100644 (file)
@@ -26,7 +26,6 @@
 DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
 DCPOMATIC_ENABLE_WARNINGS
-#include <boost/shared_ptr.hpp>
 
 class ContentPanel;
 class Content;
@@ -50,7 +49,8 @@ public:
 
 protected:
 
-       void setup_refer_button (wxCheckBox* button, wxStaticText* note, boost::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;