summaryrefslogtreecommitdiff
path: root/src/wx/audio_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-12 22:03:11 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-12 23:18:53 +0200
commit19e47294d1de485a12dccf2c25bec0c8144049e8 (patch)
tree6dfdfc46bf6fbf4514e0ec303d094dc03992a16f /src/wx/audio_panel.cc
parent423996af81218d48dbeaccef52ff822e02c43128 (diff)
Fix flickering black square when selecting content on Windows (#1866).
Diffstat (limited to 'src/wx/audio_panel.cc')
-rw-r--r--src/wx/audio_panel.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc
index 732468c84..75659aebd 100644
--- a/src/wx/audio_panel.cc
+++ b/src/wx/audio_panel.cc
@@ -57,6 +57,13 @@ AudioPanel::AudioPanel (ContentPanel* p)
: ContentSubPanel (p, _("Audio"))
, _audio_dialog (0)
{
+
+}
+
+
+void
+AudioPanel::create ()
+{
_reference = new CheckBox (this, _("Use this DCP's audio as OV and make VF"));
_reference_note = new StaticText (this, wxT(""));
_reference_note->Wrap (200);
@@ -119,6 +126,8 @@ AudioPanel::AudioPanel (ContentPanel* p)
_active_jobs_connection = JobManager::instance()->ActiveJobsChanged.connect (boost::bind (&AudioPanel::active_jobs_changed, this, _1, _2));
add_to_grid ();
+
+ _sizer->Layout ();
}
void