diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-14 21:47:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-14 21:47:19 +0100 |
| commit | c49168dc9a125d546c879509d82b21368b2e4d58 (patch) | |
| tree | 32de12430b06938d4b2319f27604390109fc6e92 /src/wx | |
| parent | 234bca29f70aeeba4fffd67f987de876ff89b6cc (diff) | |
Hackily update cinema player dialog when things change.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/cinema_player_dialog.cc | 6 | ||||
| -rw-r--r-- | src/wx/cinema_player_dialog.h | 2 |
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; |
