X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_dialog.h;h=e524dc92148c0d58f3ffa4a6a4cdc2e39406ec77;hb=051dbf3c6b1518326ed6605df724c94d6cbee344;hp=ac3a72dde524a331b4d427ff58c876df2c6b6a2c;hpb=c370a1f38215f6461cf4366e6885757e7aa2b96a;p=dcpomatic.git diff --git a/src/wx/video_waveform_dialog.h b/src/wx/video_waveform_dialog.h index ac3a72dde..e524dc921 100644 --- a/src/wx/video_waveform_dialog.h +++ b/src/wx/video_waveform_dialog.h @@ -18,17 +18,23 @@ */ + +#include +LIBDCP_DISABLE_WARNINGS #include -#include +LIBDCP_ENABLE_WARNINGS +#include + class VideoWaveformPlot; class FilmViewer; class Film; + class VideoWaveformDialog : public wxDialog { public: - VideoWaveformDialog (wxWindow* parent, boost::weak_ptr film, boost::weak_ptr viewer); + VideoWaveformDialog(wxWindow* parent, std::weak_ptr film, FilmViewer& viewer); private: void shown (wxShowEvent &); @@ -36,7 +42,7 @@ private: void contrast_changed (); void mouse_moved (int x1, int x2, int y1, int y2); - boost::weak_ptr _viewer; + FilmViewer& _viewer; VideoWaveformPlot* _plot; wxChoice* _component; wxSlider* _contrast;