From: Carl Hetherington Date: Thu, 10 Mar 2022 07:04:48 +0000 (+0100) Subject: Fix build with the macOS 10.8 version of wxWidgets. X-Git-Tag: v2.16.7 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=10c9dbd18c11dc57629b5a0e0b8f33079f5d2d8f Fix build with the macOS 10.8 version of wxWidgets. --- 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)); } }