diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-08 01:11:35 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-08 01:11:35 +0000 |
| commit | 8b2a3f31b6b4238d8534549f495e7276174ddfba (patch) | |
| tree | b8c55a3ff05f488044d98871da46a0e4f52f306d /src/wx/audio_panel.cc | |
| parent | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff) | |
Support buttons.
Diffstat (limited to 'src/wx/audio_panel.cc')
| -rw-r--r-- | src/wx/audio_panel.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index 34292620b..1c6ed1583 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -26,6 +26,7 @@ #include "audio_dialog.h" #include "static_text.h" #include "check_box.h" +#include "dcpomatic_button.h" #include "lib/config.h" #include "lib/ffmpeg_audio_stream.h" #include "lib/ffmpeg_content.h" @@ -58,7 +59,7 @@ AudioPanel::AudioPanel (ContentPanel* p) font.SetPointSize(font.GetPointSize() - 1); _reference_note->SetFont(font); - _show = new wxButton (this, wxID_ANY, _("Show graph of audio levels...")); + _show = new Button (this, _("Show graph of audio levels...")); _peak = new StaticText (this, wxT ("")); _gain_label = create_label (this, _("Gain"), true); @@ -72,7 +73,7 @@ AudioPanel::AudioPanel (ContentPanel* p) ); _gain_db_label = create_label (this, _("dB"), false); - _gain_calculate_button = new wxButton (this, wxID_ANY, _("Calculate...")); + _gain_calculate_button = new Button (this, _("Calculate...")); _delay_label = create_label (this, _("Delay"), true); _delay = new ContentSpinCtrl<AudioContent> ( |
