+ wxCopyStringListToArrayString(m_excludes, list);
+}
+
+bool wxTextValidator::IsInCharIncludeList(const wxString& val)
+{
+ return IsInCharIncludes(val);
+}
+
+bool wxTextValidator::IsNotInCharExcludeList(const wxString& val)
+{
+ return IsNotInCharExcludes(val);
+}
+
+#endif //compat 2.4
+
+
+bool wxTextValidator::IsInCharIncludes(const wxString& val)
+{
+ size_t i;
+ for ( i = 0; i < val.length(); i++)
+ {
+ if (m_includes.Index((wxString) val[i]) == wxNOT_FOUND)
+ return false;
+ }
+ return true;
+}
+
+bool wxTextValidator::IsNotInCharExcludes(const wxString& val)
+{
+ size_t i;
+ for ( i = 0; i < val.length(); i++)
+ {
+ if (m_excludes.Index((wxString) val[i]) != wxNOT_FOUND)
+ return false;
+ }
+ return true;