mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
ShuttlegGUI: const wxArrayStringEx & arguments, not wxArrayString *...
... for choice, combo, and listbox; reference allows passing temporaries, eliminating need for some variables to hold the string arrays.
This commit is contained in:
@@ -300,10 +300,10 @@ wxString Internat::StripAccelerators(const wxString &s)
|
||||
return result;
|
||||
}
|
||||
|
||||
wxArrayString LocalizedStrings(
|
||||
wxArrayStringEx LocalizedStrings(
|
||||
const EnumValueSymbol strings[], size_t nStrings)
|
||||
{
|
||||
return transform_range<wxArrayString>(
|
||||
return transform_range<wxArrayStringEx>(
|
||||
strings, strings + nStrings,
|
||||
std::mem_fn( &EnumValueSymbol::Translation )
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user