diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-10 08:04:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-10 08:04:48 +0100 |
| commit | 10c9dbd18c11dc57629b5a0e0b8f33079f5d2d8f (patch) | |
| tree | 53b090e36d0994ca7228a96ab1bab4cee94db042 | |
| parent | 1cbccd1559bd1ab8abcb4ebd0438dbc609d8232f (diff) | |
Fix build with the macOS 10.8 version of wxWidgets.v2.16.7
| -rw-r--r-- | src/wx/rating_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/rating_dialog.cc b/src/wx/rating_dialog.cc index 9886436a0..9f64c2c66 100644 --- a/src/wx/rating_dialog.cc +++ b/src/wx/rating_dialog.cc @@ -164,10 +164,10 @@ StandardRatingDialogPage::found_systems_view_selection_changed () } /* Update the ratings dropdown */ - vector<wxString> items; + wxArrayString items; if (_selected_system) { for (auto rating: _selected_system->ratings) { - items.push_back(std_to_wx(rating.label)); + items.Add(std_to_wx(rating.label)); } } |
