summaryrefslogtreecommitdiff
path: root/src/wx/content_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-11 01:25:16 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-11 11:58:15 +0100
commitc370a1f38215f6461cf4366e6885757e7aa2b96a (patch)
tree6d660895988652297260c2434115b903032bc60d /src/wx/content_panel.h
parent23b60bec13fa8f0b88c34922a169aa0084d99476 (diff)
Separate out management of controls.
Diffstat (limited to 'src/wx/content_panel.h')
-rw-r--r--src/wx/content_panel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h
index e9f942d09..4a41ad189 100644
--- a/src/wx/content_panel.h
+++ b/src/wx/content_panel.h
@@ -37,12 +37,12 @@ class VideoPanel;
class AudioPanel;
class TimingPanel;
class Film;
-class ControlFilmViewer;
+class FilmViewer;
class ContentPanel : public boost::noncopyable
{
public:
- ContentPanel (wxNotebook *, boost::shared_ptr<Film>, ControlFilmViewer* viewer);
+ ContentPanel (wxNotebook *, boost::shared_ptr<Film>, boost::weak_ptr<FilmViewer> viewer);
boost::shared_ptr<Film> film () const {
return _film;
@@ -74,7 +74,7 @@ public:
bool remove_clicked (bool hotkey);
void timeline_clicked ();
- ControlFilmViewer* film_viewer () const {
+ boost::weak_ptr<FilmViewer> film_viewer () const {
return _film_viewer;
}
@@ -120,7 +120,7 @@ private:
wxWindow* _last_selected_tab;
boost::shared_ptr<Film> _film;
- ControlFilmViewer* _film_viewer;
+ boost::weak_ptr<FilmViewer> _film_viewer;
bool _generally_sensitive;
bool _ignore_deselect;
};