Fix build with the macOS 10.8 version of wxWidgets. v2.16.7
authorCarl Hetherington <cth@carlh.net>
Thu, 10 Mar 2022 07:04:48 +0000 (08:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 10 Mar 2022 07:04:48 +0000 (08:04 +0100)
src/wx/rating_dialog.cc

index 9886436a062c0f4e0ed3445f17d190585de19fc9..9f64c2c660fdec32dbd26163d7ee1a6059f20417 100644 (file)
@@ -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));
                }
        }