#include "lib/dcpomatic_time.h"
#include "lib/film.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
#include <map>
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;
};