summaryrefslogtreecommitdiff
path: root/src/wx/text_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-09 00:35:52 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-09 00:35:52 +0200
commitdd7996d3c27f167d4f80bd8862f39781507589d7 (patch)
treebba8942f387af2c264524a64b2edc798e5886cd5 /src/wx/text_panel.cc
parent4e9a15d558ecca660eb74f54b693d1e4a3aa7381 (diff)
Tidy up some initialisation.
Diffstat (limited to 'src/wx/text_panel.cc')
-rw-r--r--src/wx/text_panel.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc
index 5e00d4f41..a3e8a2c63 100644
--- a/src/wx/text_panel.cc
+++ b/src/wx/text_panel.cc
@@ -60,13 +60,7 @@ using boost::bind;
/** @param t Original text type of the content, if known */
TextPanel::TextPanel (ContentPanel* p, TextType t)
: ContentSubPanel (p, std_to_wx(text_type_to_name(t)))
- , _outline_subtitles (0)
- , _dcp_track_label (0)
- , _dcp_track (0)
- , _text_view (0)
- , _fonts_dialog (0)
, _original_type (t)
- , _loading_analysis (false)
{
wxString refer = _("Use this DCP's subtitle as OV and make VF");
if (t == TextType::CLOSED_CAPTION) {
@@ -298,7 +292,7 @@ TextPanel::add_to_grid ()
s->Add (_fonts_dialog_button, 1, wxALL, DCPOMATIC_SIZER_GAP);
s->Add (_appearance_dialog_button, 1, wxALL, DCPOMATIC_SIZER_GAP);
- _grid->Add (s, wxGBPosition (r, 0), wxGBSpan (1, 2));
+ _grid->Add (s, wxGBPosition(r, 0), wxGBSpan(1, 2));
++r;
}