Update for TableDialog constructor change.
[dcpomatic.git] / src / wx / gain_calculator_dialog.cc
index d49dfae70841acca22765d9c824bb53d0af83ab7..a840aebef4ad7a64f94691f3ed6461fe7bc45f1d 100644 (file)
@@ -24,7 +24,7 @@
 using namespace boost;
 
 GainCalculatorDialog::GainCalculatorDialog (wxWindow* parent)
-       : TableDialog (parent, _("Gain Calculator"), 2, true)
+       : TableDialog (parent, _("Gain Calculator"), 2, 1, true)
 {
        add (_("I want to play this back at fader"), true);
        _wanted = add (new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, wxDefaultSize, 0, wxTextValidator (wxFILTER_NUMERIC)));
@@ -41,7 +41,7 @@ GainCalculatorDialog::wanted_fader () const
        if (_wanted->GetValue().IsEmpty()) {
                return 0;
        }
-       
+
        return lexical_cast<float> (wx_to_std (_wanted->GetValue ()));
 }