From 10c9dbd18c11dc57629b5a0e0b8f33079f5d2d8f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 10 Mar 2022 08:04:48 +0100 Subject: [PATCH] Fix build with the macOS 10.8 version of wxWidgets. --- src/wx/rating_dialog.cc | 4 ++-- 1 file 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 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)); } } -- 2.30.2