Partial split of film viewer.
[dcpomatic.git] / src / wx / video_waveform_dialog.cc
index 83253d335d61b4304619fd4168b719259396938c..5e3b95008ed18cd81084cfa49f78b44c2a66b86d 100644 (file)
@@ -29,7 +29,7 @@ using std::cout;
 using boost::bind;
 using boost::weak_ptr;
 
-VideoWaveformDialog::VideoWaveformDialog (wxWindow* parent, weak_ptr<const Film> film, FilmViewer* viewer)
+VideoWaveformDialog::VideoWaveformDialog (wxWindow* parent, weak_ptr<const Film> film, ControlFilmViewer* viewer)
        : wxDialog (
                parent,
                wxID_ANY,
@@ -106,7 +106,7 @@ VideoWaveformDialog::shown (wxShowEvent& ev)
 {
        _plot->set_enabled (ev.IsShown ());
        if (ev.IsShown ()) {
-               _viewer->refresh ();
+               _viewer->slow_refresh ();
        }
 }