Basics of job view when sending KDM emails from dcpomatic_kdm.
[dcpomatic.git] / src / wx / table_dialog.cc
index b3937fd1868212b2a19c965076824c25b9388e6a..3c5d9d3d53e8315041f0da069f95f46e9608f543 100644 (file)
 #include "table_dialog.h"
 #include "wx_util.h"
 
-TableDialog::TableDialog (wxWindow* parent, wxString title, int columns, bool cancel)
+TableDialog::TableDialog (wxWindow* parent, wxString title, int columns, int growable, bool cancel)
        : wxDialog (parent, wxID_ANY, title)
 {
        _overall_sizer = new wxBoxSizer (wxVERTICAL);
        SetSizer (_overall_sizer);
 
        _table = new wxFlexGridSizer (columns, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
-       _table->AddGrowableCol (1, 1);
+       _table->AddGrowableCol (growable, 1);
 
        _overall_sizer->Add (_table, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);