summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-14 21:47:19 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-14 21:47:19 +0100
commitc49168dc9a125d546c879509d82b21368b2e4d58 (patch)
tree32de12430b06938d4b2319f27604390109fc6e92 /src/wx
parent234bca29f70aeeba4fffd67f987de876ff89b6cc (diff)
Hackily update cinema player dialog when things change.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/cinema_player_dialog.cc6
-rw-r--r--src/wx/cinema_player_dialog.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/cinema_player_dialog.cc b/src/wx/cinema_player_dialog.cc
index 3545608ed..2df4cb9a5 100644
--- a/src/wx/cinema_player_dialog.cc
+++ b/src/wx/cinema_player_dialog.cc
@@ -39,3 +39,9 @@ CinemaPlayerDialog::CinemaPlayerDialog (wxWindow* parent, shared_ptr<FilmViewer>
SetSizer (s);
}
+
+void
+CinemaPlayerDialog::triggered_update ()
+{
+ _info->triggered_update ();
+}
diff --git a/src/wx/cinema_player_dialog.h b/src/wx/cinema_player_dialog.h
index 045dafb28..1af8308ff 100644
--- a/src/wx/cinema_player_dialog.h
+++ b/src/wx/cinema_player_dialog.h
@@ -30,6 +30,8 @@ class CinemaPlayerDialog : public wxDialog
public:
CinemaPlayerDialog (wxWindow* parent, boost::shared_ptr<FilmViewer> viewer);
+ void triggered_update ();
+
private:
Controls* _controls;
PlayerInformation* _info;