Don't use size_t for plural forms parameter.
size_t should be used for size of objects, which wxGetTranslation() and wxTranslations::GetString() 'n' argument isn't -- it's just a regular integer. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -302,7 +302,7 @@ public:
|
||||
// plural form version of the same:
|
||||
const wxString& GetString(const wxString& origString,
|
||||
const wxString& origString2,
|
||||
size_t n,
|
||||
unsigned n,
|
||||
const wxString& domain = wxEmptyString) const
|
||||
{
|
||||
return wxGetTranslation(origString, origString2, n, domain);
|
||||
|
Reference in New Issue
Block a user