Fix build with older boost.
[dcpomatic.git] / src / wx / subtitle_appearance_dialog.h
index daaccf08f86aa4251429ac318d89bf9e66c99cc4..2a5b9843023cd182201cf9318321fe81d9a9e437 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015-2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -18,6 +18,7 @@
 
 */
 
+
 #include "timecode.h"
 #include "lib/change_signaller.h"
 #include "lib/rgba.h"
@@ -27,6 +28,7 @@ DCPOMATIC_DISABLE_WARNINGS
 DCPOMATIC_ENABLE_WARNINGS
 #include <boost/signals2.hpp>
 
+
 class wxRadioButton;
 class wxColourPickerCtrl;
 class wxGridBagSizer;
@@ -38,6 +40,7 @@ class wxWidget;
 class Film;
 class Job;
 
+
 class SubtitleAppearanceDialog : public wxDialog
 {
 public:
@@ -70,11 +73,11 @@ private:
 
        wxBoxSizer* _overall_sizer;
        wxScrolled<wxPanel>* _colours_panel;
-       wxStaticText* _finding;
+       wxStaticText* _finding = nullptr;
        wxFlexGridSizer* _colour_table;
 
        std::shared_ptr<Content> _content;
-       std::shared_ptr<TextContent> _caption;
+       std::shared_ptr<TextContent> _text;
        std::shared_ptr<FFmpegSubtitleStream> _stream;
 
        boost::signals2::scoped_connection _content_connection;