- if ((!isdigit(val[i])) && (val[i] != '.') && (val[i] != ','))
- if(!((i == 0) && (val[i] == '-')))
- 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;