summaryrefslogtreecommitdiff
path: root/src/wx/controls.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-23 22:29:19 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-27 14:47:25 +0100
commit5fa6584826d7c356451bcea46928c1721f857ca5 (patch)
tree8e9382a7df62471ddc3baa839c991c84587ada9e /src/wx/controls.h
parent5e7ec41119961114a9b4df90d1c9ced580667f54 (diff)
Cleanup: use some defaults in the class definition.
Diffstat (limited to 'src/wx/controls.h')
-rw-r--r--src/wx/controls.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/controls.h b/src/wx/controls.h
index f04f3aab6..321d7e05c 100644
--- a/src/wx/controls.h
+++ b/src/wx/controls.h
@@ -106,11 +106,11 @@ private:
typedef std::pair<std::shared_ptr<dcp::CPL>, boost::filesystem::path> CPL;
- bool _slider_being_moved;
+ bool _slider_being_moved = false;
- CheckBox* _outline_content;
- wxChoice* _eye;
- CheckBox* _jump_to_selected;
+ CheckBox* _outline_content = nullptr;
+ wxChoice* _eye = nullptr;
+ CheckBox* _jump_to_selected = nullptr;
wxButton* _rewind_button;
wxButton* _back_button;
wxButton* _forward_button;