Remove some friends from FilmViewer.
[dcpomatic.git] / src / wx / closed_captions_dialog.h
index 4b407fa5a7a7c49ae2631ace6979cba235b88bc9..5c366ca7b0dbe2cc9d9f61e8eba4002b5e71c6ff 100644 (file)
@@ -31,11 +31,12 @@ class ClosedCaptionsDialog : public wxDialog
 public:
        explicit ClosedCaptionsDialog (wxWindow* parent, FilmViewer* viewer);
 
-       void update (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;
-       DCPTime _last_update;
+       wxTimer _timer;
 };