From: Francesco Montorsi Date: Sat, 31 Jan 2009 15:57:45 +0000 (+0000) Subject: better define what an ASCII character is considered to be in IsAscii() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ca164e2337d4f014cb42ac0354cea467cdf2f194 better define what an ASCII character is considered to be in IsAscii() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/string.h b/interface/wx/string.h index 80f58699d1..1cda9cfd76 100644 --- a/interface/wx/string.h +++ b/interface/wx/string.h @@ -36,7 +36,7 @@ for important warnings and advices for using it, please read the @ref overview_string. - In wxWidgets 3.0 wxString always stores Unicode strings, so you should + Since wxWidgets 3.0 wxString always stores Unicode strings, so you should be sure to read also @ref overview_unicode. @@ -652,6 +652,8 @@ public: /** Returns @true if the string contains only ASCII characters. + See wxUniChar::IsAscii for more details. + This is a wxWidgets 1.xx compatibility function; you should not use it in new code. */ diff --git a/interface/wx/unichar.h b/interface/wx/unichar.h index fd058c1ddc..83f63525d8 100644 --- a/interface/wx/unichar.h +++ b/interface/wx/unichar.h @@ -54,7 +54,7 @@ public: value_type GetValue() const; /** - Returns true if the character is an ASCII character. + Returns true if the character is an ASCII character (i.e. if its value is less than 128). */ bool IsAscii() const;