summaryrefslogtreecommitdiff
path: root/src/wx/player_information.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/player_information.h')
-rw-r--r--src/wx/player_information.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wx/player_information.h b/src/wx/player_information.h
index f82cd7aa4..b93228174 100644
--- a/src/wx/player_information.h
+++ b/src/wx/player_information.h
@@ -20,13 +20,14 @@
#include <wx/wx.h>
#include <boost/scoped_ptr.hpp>
+#include <boost/weak_ptr.hpp>
-class ControlFilmViewer;
+class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
- PlayerInformation (wxWindow* parent, ControlFilmViewer* viewer);
+ PlayerInformation (wxWindow* parent, boost::weak_ptr<FilmViewer> viewer);
void triggered_update ();
@@ -34,7 +35,7 @@ private:
void periodic_update ();
- ControlFilmViewer* _viewer;
+ boost::weak_ptr<FilmViewer> _viewer;
wxSizer* _sizer;
wxStaticText** _dcp;
wxStaticText* _dropped;