X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=b932281746b0fe37c2e00c4860f3ce8d58935404;hb=e9e8951e0961564121f9c6cc4ce87555eebf9ec8;hp=84daf020dd01e9a9fccb9a613b069901d656b1e9;hpb=23583dfb56181c76126e652042e9d1940367aa27;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index 84daf020d..b93228174 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -20,13 +20,14 @@ #include #include +#include class FilmViewer; class PlayerInformation : public wxPanel { public: - PlayerInformation (wxWindow* parent, ControlFilmViewer* viewer); + PlayerInformation (wxWindow* parent, boost::weak_ptr viewer); void triggered_update (); @@ -34,7 +35,7 @@ private: void periodic_update (); - ControlFilmViewer* _viewer; + boost::weak_ptr _viewer; wxSizer* _sizer; wxStaticText** _dcp; wxStaticText* _dropped;