summaryrefslogtreecommitdiff
path: root/src/wx/content_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-04 23:01:49 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-04 23:01:49 +0200
commitf02a6f52ec33a4dc6f8f8b6bce9445dcd32fa11a (patch)
tree9777cec410603855b3d467e831a07d15641c9d83 /src/wx/content_panel.h
parent0aabb6497979e2df9731f8753645149d85c02bc8 (diff)
Formatting / C++11 tidying.
Diffstat (limited to 'src/wx/content_panel.h')
-rw-r--r--src/wx/content_panel.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/wx/content_panel.h b/src/wx/content_panel.h
index 70568ccc0..2a74df215 100644
--- a/src/wx/content_panel.h
+++ b/src/wx/content_panel.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,12 +18,14 @@
*/
+
#include "content_menu.h"
-#include "lib/types.h"
#include "lib/film.h"
+#include "lib/types.h"
#include <wx/splitter.h>
#include <list>
+
class wxNotebook;
class wxPanel;
class wxSizer;
@@ -135,14 +137,14 @@ private:
wxButton* _earlier;
wxButton* _later;
wxButton* _timeline;
- VideoPanel* _video_panel;
- AudioPanel* _audio_panel;
+ VideoPanel* _video_panel = nullptr;
+ AudioPanel* _audio_panel = nullptr;
TextPanel* _text_panel[static_cast<int>(TextType::COUNT)];
TimingPanel* _timing_panel;
ContentMenu* _menu;
- TimelineDialog* _timeline_dialog;
+ TimelineDialog* _timeline_dialog = nullptr;
wxNotebook* _parent;
- wxWindow* _last_selected_tab;
+ wxWindow* _last_selected_tab = nullptr;
std::shared_ptr<Film> _film;
std::weak_ptr<FilmViewer> _film_viewer;