#include "lib/dcp_content.h"
#include <wx/wx.h>
#include <wx/notebook.h>
-#include <boost/foreach.hpp>
#include <iostream>
using std::cout;
using std::string;
using std::list;
-using boost::shared_ptr;
-using boost::weak_ptr;
+using std::shared_ptr;
+using std::weak_ptr;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
FilmEditor::FilmEditor (wxWindow* parent, weak_ptr<FilmViewer> viewer)
: wxPanel (parent)
_content_panel = new ContentPanel (_main_notebook, _film, viewer);
_main_notebook->AddPage (_content_panel->window(), _("Content"), true);
- _dcp_panel = new DCPPanel (_main_notebook, _film);
+ _dcp_panel = new DCPPanel (_main_notebook, _film, viewer);
_main_notebook->AddPage (_dcp_panel->panel (), _("DCP"), false);
JobManager::instance()->ActiveJobsChanged.connect (
{
set_general_sensitivity (!j);
}
+
+
+void
+FilmEditor::first_shown ()
+{
+ _content_panel->first_shown ();
+}
+