return int, not wxUniChar, from wxTo{upp,low}er_l() for consistency with the standard tow{upp,low}er()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-10 17:16:31 +00:00
parent 45f5fbd438
commit a4e53d4658
2 changed files with 4 additions and 7 deletions

View File

@@ -199,7 +199,7 @@ GEN_ISFUNC(wxIsspace_l, CTYPE_SPACE)
GEN_ISFUNC(wxIsupper_l, CTYPE_UPPER)
GEN_ISFUNC(wxIsxdigit_l, CTYPE_XDIGIT)
wxUniChar wxTolower_l(const wxUniChar& c, const wxXLocale& loc)
int wxTolower_l(const wxUniChar& c, const wxXLocale& loc)
{
wxCHECK(loc.IsOk(), false);
@@ -211,7 +211,7 @@ wxUniChar wxTolower_l(const wxUniChar& c, const wxXLocale& loc)
return c;
}
wxUniChar wxToupper_l(const wxUniChar& c, const wxXLocale& loc)
int wxToupper_l(const wxUniChar& c, const wxXLocale& loc)
{
wxCHECK(loc.IsOk(), false);