Updated pl_PL translation from MichaƂ Tomaszewski.
[dcpomatic.git] / src / wx / subtitle_appearance_dialog.h
index daaccf08f86aa4251429ac318d89bf9e66c99cc4..f023b73ae0987b76f46ec8e5e76a2f020fdc04f5 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.
 
 
 */
 
+
 #include "timecode.h"
 #include "lib/change_signaller.h"
 #include "lib/rgba.h"
-#include "lib/warnings.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_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;