summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-10 08:04:48 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-14 00:16:42 +0100
commitd1fb6303fa78a9d7be37da29f8a807494f132d4b (patch)
tree6a1df4ff3021f9c7927f4002fbc993718adab486
parenta36b0633726b4d7a4c3c651cc13e049577c0da18 (diff)
Fix build with the macOS 10.8 version of wxWidgets.
-rw-r--r--src/wx/rating_dialog.cc4
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));
}
}