X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=ae3e134295f3442694a1dceda5fcff9816f83d32;hb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;hp=84daf020dd01e9a9fccb9a613b069901d656b1e9;hpb=23583dfb56181c76126e652042e9d1940367aa27;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index 84daf020d..ae3e13429 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -18,15 +18,19 @@ */ +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS #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 +38,7 @@ private: void periodic_update (); - ControlFilmViewer* _viewer; + boost::weak_ptr _viewer; wxSizer* _sizer; wxStaticText** _dcp; wxStaticText* _dropped;