Replace AddCatalog() overload with defaulted argument

There is no need to have 2 overloads of this function when we could have just
a single one with a default parameter value.
This commit is contained in:
Vadim Zeitlin
2016-06-26 01:30:59 +02:00
parent 8d87ebfe47
commit 423ad59b00
3 changed files with 5 additions and 20 deletions

View File

@@ -1485,12 +1485,6 @@ bool wxTranslations::AddStdCatalog()
return true;
}
bool wxTranslations::AddCatalog(const wxString& domain)
{
return AddCatalog(domain, wxLANGUAGE_ENGLISH_US);
}
#if !wxUSE_UNICODE
bool wxTranslations::AddCatalog(const wxString& domain,
wxLanguage msgIdLanguage,