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:
@@ -226,7 +226,7 @@ public:
|
||||
*/
|
||||
const wxString& GetString(const wxString& origString,
|
||||
const wxString& origString2,
|
||||
size_t n,
|
||||
unsigned n,
|
||||
const wxString& domain = wxEmptyString) const;
|
||||
|
||||
/**
|
||||
@@ -436,7 +436,7 @@ protected:
|
||||
extracted to the message catalog. Instead, use the _() and wxPLURAL()
|
||||
macro for all literal strings.
|
||||
|
||||
@see wxGetTranslation(const wxString&, const wxString&, size_t, const wxString&)
|
||||
@see wxGetTranslation(const wxString&, const wxString&, unsigned, const wxString&)
|
||||
|
||||
@header{wx/intl.h}
|
||||
*/
|
||||
@@ -466,7 +466,7 @@ const wxString& wxGetTranslation(const wxString& string,
|
||||
@header{wx/intl.h}
|
||||
*/
|
||||
const wxString& wxGetTranslation(const wxString& string,
|
||||
const wxString& plural, size_t n,
|
||||
const wxString& plural, unsigned n,
|
||||
const wxString& domain = wxEmptyString);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user