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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user