mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 17:41:13 +02:00
Remove overloads that are not needed after 277537c
This commit is contained in:
@@ -194,18 +194,6 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ReadEnum(const wxString & key, int *pi, const wxString & defVal,
|
||||
const wxArrayString & choices,
|
||||
const ObsoleteMap obsoletes[] = nullptr,
|
||||
size_t nObsoletes = 0) const
|
||||
{
|
||||
if (!ReadEnum(key, pi, choices, obsoletes, nObsoletes))
|
||||
{
|
||||
*pi = choices.Index(defVal);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool WriteEnum(const wxString & key, int value, const wxArrayString & choices)
|
||||
{
|
||||
if (value < 0 || value >= (int) choices.GetCount())
|
||||
@@ -261,15 +249,6 @@ public:
|
||||
return (*val != wxNOT_FOUND);
|
||||
}
|
||||
|
||||
bool ReadAndVerify(const wxString & key, int *val, const wxString & defVal,
|
||||
const wxArrayString & choices,
|
||||
const ObsoleteMap obsoletes[] = nullptr,
|
||||
size_t nObsoletes = 0) const
|
||||
{
|
||||
ReadEnum(key, val, defVal, choices, obsoletes, nObsoletes);
|
||||
return (*val != wxNOT_FOUND);
|
||||
}
|
||||
|
||||
bool GetParameters(wxString & parms)
|
||||
{
|
||||
wxFileConfig::SetPath(wxT("/"));
|
||||
|
Reference in New Issue
Block a user