X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_dialog.h;h=ac3a72dde524a331b4d427ff58c876df2c6b6a2c;hb=6980066a05f020e3b8c6d0db06ccbb18e01391e3;hp=aa134f7a5f9ad236cd7a48697914dd895dcd98a0;hpb=f8a0bc6135a933dcf660bbc46b4b3d29d503690e;p=dcpomatic.git diff --git a/src/wx/video_waveform_dialog.h b/src/wx/video_waveform_dialog.h index aa134f7a5..ac3a72dde 100644 --- a/src/wx/video_waveform_dialog.h +++ b/src/wx/video_waveform_dialog.h @@ -28,7 +28,7 @@ class Film; class VideoWaveformDialog : public wxDialog { public: - VideoWaveformDialog (wxWindow* parent, boost::weak_ptr film, FilmViewer* viewer); + VideoWaveformDialog (wxWindow* parent, boost::weak_ptr film, boost::weak_ptr viewer); private: void shown (wxShowEvent &); @@ -36,7 +36,7 @@ private: void contrast_changed (); void mouse_moved (int x1, int x2, int y1, int y2); - FilmViewer* _viewer; + boost::weak_ptr _viewer; VideoWaveformPlot* _plot; wxChoice* _component; wxSlider* _contrast;