+ // Allow for "," (French) as well as "." -- in future we should
+ // use wxSystemSettings or other to do better localisation
+ if ((!wxIsdigit(val[i])) && (val[i] != '.') && (val[i] != ',') && (val[i] != wxT('e')) && (val[i] != wxT('E')) && (val[i] != wxT('+')) && (val[i] != wxT('-')))
+ return false;
+ }
+ return true;
+}
+
+bool wxTextValidator::IsInCharIncludeList(const wxString& val)
+{
+ size_t i;
+ for ( i = 0; i < val.Length(); i++)
+ {
+ if (!m_includeList.Member((wxString) val[i]))
+ return false;
+ }
+ return true;
+}
+
+bool wxTextValidator::IsNotInCharExcludeList(const wxString& val)
+{
+ size_t i;
+ for ( i = 0; i < val.Length(); i++)
+ {
+ if (m_excludeList.Member((wxString) val[i]))
+ return false;