Add basic quality option for x264 export.
[dcpomatic.git] / src / wx / table_dialog.cc
index f94fb0fe83026816659db61e6caa771d80e4fd1e..240a997d2fb7cbae392502d2df92b4973c52e1de 100644 (file)
@@ -50,7 +50,7 @@ TableDialog::layout ()
        _overall_sizer->SetSizeHints (this);
 }
 
-void
+wxStaticText *
 #ifdef DCPOMATIC_OSX
 TableDialog::add (wxString text, bool label)
 #else
@@ -67,6 +67,7 @@ TableDialog::add (wxString text, bool)
        wxStaticText* m = new wxStaticText (this, wxID_ANY, wxT (""));
        m->SetLabelMarkup (text);
        _table->Add (m, 0, flags, 6);
+       return m;
 }
 
 void