diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.h | 4 | ||||
| -rw-r--r-- | src/wx/system_information_dialog.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index e9450c7e7..5ddb12baf 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -53,6 +53,10 @@ public: return _video_view->get(); } + VideoView const * video_view () const { + return _video_view; + } + void show_closed_captions (); void set_film (boost::shared_ptr<Film>); diff --git a/src/wx/system_information_dialog.cc b/src/wx/system_information_dialog.cc index 0e1916202..592e7c0ef 100644 --- a/src/wx/system_information_dialog.cc +++ b/src/wx/system_information_dialog.cc @@ -53,7 +53,7 @@ SystemInformationDialog::SystemInformationDialog (wxWindow* parent, weak_ptr<Fil if (!viewer) { add (_("unknown"), false); } else { - GLVideoView* gl = dynamic_cast<GLVideoView*>(viewer->panel()); + GLVideoView const * gl = dynamic_cast<GLVideoView const *>(viewer->video_view()); if (!gl) { add (_("unknown"), false); } else { |
