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:
parent
45f5fbd438
commit
a4e53d4658
@ -268,7 +268,6 @@ private:
|
||||
|
||||
#endif // wxUSE_UNICDE (ctype functions)
|
||||
#else // !wxHAS_XLOCALE_SUPPORT
|
||||
|
||||
// ctype functions
|
||||
int WXDLLIMPEXP_BASE wxIsalnum_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
int WXDLLIMPEXP_BASE wxIsalpha_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
@ -281,10 +280,8 @@ private:
|
||||
int WXDLLIMPEXP_BASE wxIsspace_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
int WXDLLIMPEXP_BASE wxIsupper_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
int WXDLLIMPEXP_BASE wxIsxdigit_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
wxUniChar WXDLLIMPEXP_BASE wxTolower_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
wxUniChar WXDLLIMPEXP_BASE wxToupper_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
|
||||
|
||||
int WXDLLIMPEXP_BASE wxTolower_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
int WXDLLIMPEXP_BASE wxToupper_l(const wxUniChar& c, const wxXLocale& loc);
|
||||
#endif // wxHAS_XLOCALE_SUPPORT/!wxHAS_XLOCALE_SUPPORT
|
||||
|
||||
#endif // wxUSE_XLOCALE
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user