diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-16 13:35:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-04-16 13:35:54 +0100 |
| commit | d086686b16254a0c122284805ebde1674d1f2698 (patch) | |
| tree | 5292c246699ef017436bafc5951517230f916342 /src/wx | |
| parent | 5b01953127a2bb099b76f004e526d1bece251aa4 (diff) | |
Initial work on 'ECinema' KDMs.attic/swaroop
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/player_config_dialog.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/wx/player_config_dialog.cc b/src/wx/player_config_dialog.cc index ef58bab00..5c1157956 100644 --- a/src/wx/player_config_dialog.cc +++ b/src/wx/player_config_dialog.cc @@ -437,12 +437,12 @@ public: private: void setup () { - vector<string> columns; - columns.push_back(wx_to_std(_("Manufacturer ID"))); - columns.push_back(wx_to_std(_("Product code"))); - columns.push_back(wx_to_std(_("Serial"))); - columns.push_back(wx_to_std(_("Manufacture week"))); - columns.push_back(wx_to_std(_("Manufacture year"))); + vector<EditableListColumn> columns; + columns.push_back(EditableListColumn(wx_to_std(_("Manufacturer ID")))); + columns.push_back(EditableListColumn(wx_to_std(_("Product code")))); + columns.push_back(EditableListColumn(wx_to_std(_("Serial")))); + columns.push_back(EditableListColumn(wx_to_std(_("Manufacture week")))); + columns.push_back(EditableListColumn(wx_to_std(_("Manufacture year")))); _monitor_list = new EditableList<Monitor, MonitorDialog> ( _panel, columns, @@ -450,8 +450,7 @@ private: boost::bind (&Config::set_required_monitors, Config::instance(), _1), boost::bind (&DevicesPage::monitor_column, this, _1, _2), true, - true, - 100 + true ); _panel->GetSizer()->Add(_monitor_list, 1, wxEXPAND | wxALL, _border); |
