1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-28 08:13:54 +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:
Paul Licameli
2018-02-01 19:23:02 -05:00
parent dcd82b8ef5
commit dd86346156
57 changed files with 244 additions and 253 deletions

View File

@@ -21,6 +21,7 @@
#include "PrefsPanel.h"
class ShuttleGui;
class wxArrayStringEx;
class DevicePrefs final : public PrefsPanel
{
@@ -38,8 +39,8 @@ class DevicePrefs final : public PrefsPanel
void OnHost(wxCommandEvent & e);
void OnDevice(wxCommandEvent & e);
wxArrayString mHostNames;
wxArrayString mHostLabels;
wxArrayStringEx mHostNames;
wxArrayStringEx mHostLabels;
wxString mPlayDevice;
wxString mRecordDevice;