X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fmarkers_panel.h;h=e34008a41fc5c0e4c29c9ef355ef1496e5fd2216;hb=0062a0ad4e8bde2866cd42404ea103ed29fa59db;hp=23cc860c1dbcc74bb6e7144b8e8ecdb9c731a15c;hpb=73354a46617d95f2f8ab94b9a3ced97a67a60439;p=dcpomatic.git diff --git a/src/wx/markers_panel.h b/src/wx/markers_panel.h index 23cc860c1..e34008a41 100644 --- a/src/wx/markers_panel.h +++ b/src/wx/markers_panel.h @@ -34,7 +34,7 @@ class wxTipWindow; class MarkersPanel : public wxPanel { public: - MarkersPanel (wxWindow* parent, std::weak_ptr viewer); + MarkersPanel(wxWindow* parent, FilmViewer& viewer); void set_film (std::weak_ptr film); @@ -69,7 +69,7 @@ private: std::weak_ptr _film; std::map _markers; boost::optional _over; - std::weak_ptr _viewer; + FilmViewer& _viewer; boost::optional _menu_marker; };