summaryrefslogtreecommitdiff
path: root/src/wx/closed_captions_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/closed_captions_dialog.h')
-rw-r--r--src/wx/closed_captions_dialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/closed_captions_dialog.h b/src/wx/closed_captions_dialog.h
index fb4e9d59b..5c366ca7b 100644
--- a/src/wx/closed_captions_dialog.h
+++ b/src/wx/closed_captions_dialog.h
@@ -31,11 +31,12 @@ class ClosedCaptionsDialog : public wxDialog
public:
explicit ClosedCaptionsDialog (wxWindow* parent, FilmViewer* viewer);
- void update (dcpomatic::DCPTime);
void clear ();
void set_film_and_butler (boost::shared_ptr<Film>, boost::weak_ptr<Butler>);
private:
+ void shown (wxShowEvent);
+ void update ();
void paint ();
void track_selected ();
@@ -47,5 +48,5 @@ private:
std::vector<wxString> _lines;
std::vector<DCPTextTrack> _tracks;
boost::weak_ptr<Butler> _butler;
- dcpomatic::DCPTime _last_update;
+ wxTimer _timer;
};