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