Make the prefs window a little wider on macOS to (hopefully) fit all the icons in...
[dcpomatic.git] / src / wx / text_view.h
index 6ce22dc799dfa9f579b733a0a023faf2bc10a1f9..b44742b6313afeeb524454f59577fbdc4e8f0700 100644 (file)
 */
 
 #include "lib/content_text.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <wx/listctrl.h>
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
 
 class Decoder;
 class FilmViewer;
@@ -33,11 +34,11 @@ class TextView : public wxDialog
 public:
        TextView (
                wxWindow *,
-               boost::shared_ptr<Film>,
-               boost::shared_ptr<Content> content,
-               boost::shared_ptr<TextContent> caption,
-               boost::shared_ptr<Decoder>,
-               boost::weak_ptr<FilmViewer> viewer
+               std::shared_ptr<Film>,
+               std::shared_ptr<Content> content,
+               std::shared_ptr<TextContent> caption,
+               std::shared_ptr<Decoder>,
+               std::weak_ptr<FilmViewer> viewer
                );
 
 private:
@@ -50,6 +51,6 @@ private:
        boost::optional<FrameRateChange> _frc;
        boost::optional<int> _last_count;
        std::vector<dcpomatic::ContentTime> _start_times;
-       boost::weak_ptr<Content> _content;
-       boost::weak_ptr<FilmViewer> _film_viewer;
+       std::weak_ptr<Content> _content;
+       std::weak_ptr<FilmViewer> _film_viewer;
 };