diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-19 14:01:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-19 14:01:14 +0100 |
| commit | 7d81ed516d246b5d1387f5bf1019237c5c7a8d2b (patch) | |
| tree | 1cb650da7e385dc0869518376e9bbfc8ead90e87 /src | |
| parent | f217913a609e67f3dd0b804e2b961dcbd8556e63 (diff) | |
Update new panels when they are created.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/audio_panel.cc | 2 | ||||
| -rw-r--r-- | src/wx/text_panel.cc | 2 | ||||
| -rw-r--r-- | src/wx/video_panel.cc | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index 88eae5141..31998f936 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -119,6 +119,8 @@ AudioPanel::AudioPanel (ContentPanel* p) _gain->wrapped()->SetIncrement (0.5); _delay->wrapped()->SetRange (-1000, 1000); + content_selection_changed (); + _reference->Bind (wxEVT_CHECKBOX, boost::bind (&AudioPanel::reference_clicked, this)); _show->Bind (wxEVT_BUTTON, boost::bind (&AudioPanel::show_clicked, this)); _gain_calculate_button->Bind (wxEVT_BUTTON, boost::bind (&AudioPanel::gain_calculate_button_clicked, this)); diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index 7c2ddd7f9..68f246913 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -170,6 +170,8 @@ TextPanel::TextPanel (ContentPanel* p, TextType t) _y_scale->SetRange (10, 1000); _line_spacing->SetRange (10, 1000); + content_selection_changed (); + _reference->Bind (wxEVT_CHECKBOX, boost::bind (&TextPanel::reference_clicked, this)); _use->Bind (wxEVT_CHECKBOX, boost::bind (&TextPanel::use_toggled, this)); _type->Bind (wxEVT_CHOICE, boost::bind (&TextPanel::type_changed, this)); diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index 666c65bd4..410ec4699 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -247,6 +247,8 @@ VideoPanel::VideoPanel (ContentPanel* p) _frame_type->wrapped()->Append (_("3D left only")); _frame_type->wrapped()->Append (_("3D right only")); + content_selection_changed (); + _fade_in->Changed.connect (boost::bind (&VideoPanel::fade_in_changed, this)); _fade_out->Changed.connect (boost::bind (&VideoPanel::fade_out_changed, this)); |
