X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.h;h=84a1d361b7e3af37afec1085930a7e5b5156fdd6;hb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;hp=cbc8f92bee0b0b64245e706c0ed5d33ce1d28af2;hpb=4408e6eea87ce9630e71e4a7d40e2dade091b0ee;p=dcpomatic.git diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h index cbc8f92be..84a1d361b 100644 --- a/src/wx/film_editor.h +++ b/src/wx/film_editor.h @@ -23,7 +23,10 @@ */ #include "lib/film.h" +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS #include class wxNotebook; @@ -38,7 +41,7 @@ class FilmViewer; class FilmEditor : public wxPanel { public: - FilmEditor (wxWindow *, FilmViewer* viewer); + FilmEditor (wxWindow *, boost::weak_ptr viewer); void set_film (boost::shared_ptr);