]> git.saurik.com Git - wxWidgets.git/commitdiff
Oops, no such function as wxIsascii
authorJulian Smart <julian@anthemion.co.uk>
Fri, 11 Jul 2003 11:28:11 +0000 (11:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 11 Jul 2003 11:28:11 +0000 (11:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp
src/common/valtext.cpp

index 7ac3f254a2fd960f5c32a4910c20b8277d4c25e6..29d51e71b88755766e1644c39355683ac6fd656c 100644 (file)
@@ -1017,7 +1017,7 @@ bool wxString::IsAscii() const
 {
   const wxChar *s = (const wxChar*) *this;
   while(*s){
-    if(!wxIsascii(*s)) return(FALSE);
+    if(!isascii(*s)) return(FALSE);
     s++;
   }
   return(TRUE);
index 7ca1758c3d9b9110773173df04edbd11d372df20..16dadf77a581ab3e802feef8d759cf4038bf1a9b 100644 (file)
@@ -246,7 +246,7 @@ void wxTextValidator::OnChar(wxKeyEvent& event)
              (
               ((m_validatorStyle & wxFILTER_INCLUDE_CHAR_LIST) && !IsInCharIncludeList(wxString((char) keyCode, 1))) ||
               ((m_validatorStyle & wxFILTER_EXCLUDE_CHAR_LIST) && !IsNotInCharExcludeList(wxString((char) keyCode, 1))) ||
-              ((m_validatorStyle & wxFILTER_ASCII) && !wxIsascii(keyCode)) ||
+              ((m_validatorStyle & wxFILTER_ASCII) && !isascii(keyCode)) ||
               ((m_validatorStyle & wxFILTER_ALPHA) && !wxIsalpha(keyCode)) ||
               ((m_validatorStyle & wxFILTER_ALPHANUMERIC) && !wxIsalnum(keyCode)) ||
               ((m_validatorStyle & wxFILTER_NUMERIC) && !wxIsdigit(keyCode)