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:
Václav Slavík
2010-05-05 12:27:07 +00:00
parent fc48f78fd0
commit dfbb5eff44
5 changed files with 21 additions and 21 deletions

View File

@@ -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);