X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=b932281746b0fe37c2e00c4860f3ce8d58935404;hb=d6d5e36cbeb285c78c33d88a09882d964f83d563;hp=747cd5a20a0acd12ea03c6795541683c7eb0fe4a;hpb=6abe10b28dbe3132ac329dad60befae5f40fbe69;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index 747cd5a20..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, FilmViewer* viewer); + PlayerInformation (wxWindow* parent, boost::weak_ptr viewer); void triggered_update (); @@ -34,7 +35,7 @@ private: void periodic_update (); - FilmViewer* _viewer; + boost::weak_ptr _viewer; wxSizer* _sizer; wxStaticText** _dcp; wxStaticText* _dropped;