1
0
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:
Paul Licameli
2018-03-26 13:25:03 -04:00
parent a4a588610e
commit ab509acdf7
3 changed files with 0 additions and 64 deletions

View File

@@ -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("/"));