X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_view.h;h=1fe07a99919f14b588edcc37ffe69351d02aad85;hb=a8a3d3759e5104a36e6d4b36f3a572b0bf672470;hp=8cec8d28444b902701f241d6fc04a52b4bd01396;hpb=df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc;p=dcpomatic.git diff --git a/src/wx/text_view.h b/src/wx/text_view.h index 8cec8d284..1fe07a999 100644 --- a/src/wx/text_view.h +++ b/src/wx/text_view.h @@ -19,18 +19,25 @@ */ #include "lib/content_text.h" -#include #include #include +#include +#include class Decoder; class FilmViewer; +class Film; class TextView : public wxDialog { public: TextView ( - wxWindow *, boost::shared_ptr, boost::shared_ptr content, boost::shared_ptr caption, boost::shared_ptr, FilmViewer* viewer + wxWindow *, + boost::shared_ptr, + boost::shared_ptr content, + boost::shared_ptr caption, + boost::shared_ptr, + boost::weak_ptr viewer ); private: @@ -44,5 +51,5 @@ private: boost::optional _last_count; std::vector _start_times; boost::weak_ptr _content; - FilmViewer* _film_viewer; + boost::weak_ptr _film_viewer; };