class MarkersPanel : public wxPanel
{
public:
- MarkersPanel (wxWindow* parent, std::weak_ptr<FilmViewer> viewer);
+ MarkersPanel(wxWindow* parent, FilmViewer& viewer);
void set_film (std::weak_ptr<Film> film);
std::weak_ptr<Film> _film;
std::map<dcp::Marker, Marker> _markers;
boost::optional<dcp::Marker> _over;
- std::weak_ptr<FilmViewer> _viewer;
+ FilmViewer& _viewer;
boost::optional<dcp::Marker> _menu_marker;
};