The prevalent wide characters.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-13 11:44:33 +00:00
parent 2ed57eb790
commit 783b6cfda4
4 changed files with 144 additions and 145 deletions

View File

@@ -75,14 +75,14 @@ bool wxTextValidator::Copy(const wxTextValidator& val)
wxNode *node = val.m_includeList.First() ;
while ( node )
{
char *s = (char *)node->Data();
wxChar *s = (wxChar *)node->Data();
m_includeList.Add(s);
node = node->Next();
}
node = val.m_excludeList.First() ;
while ( node )
{
char *s = (char *)node->Data();
wxChar *s = (wxChar *)node->Data();
m_excludeList.Add(s);
node = node->Next();
}
@@ -137,7 +137,7 @@ bool wxTextValidator::Validate(wxWindow *parent)
bool ok = TRUE;
// this format string should contian exactly one '%s'
const char *errormsg = _("'%s' is invalid");
const wxChar *errormsg = _("'%s' is invalid");
if ( m_validatorStyle & wxFILTER_INCLUDE_LIST )
{
@@ -236,7 +236,7 @@ void wxTextValidator::SetIncludeList(const wxStringList& list)
wxNode *node = list.First() ;
while ( node )
{
char *s = (char *)node->Data();
wxChar *s = (wxChar *)node->Data();
m_includeList.Add(s);
node = node->Next();
}
@@ -254,7 +254,7 @@ void wxTextValidator::SetExcludeList(const wxStringList& list)
wxNode *node = list.First() ;
while ( node )
{
char *s = (char *)node->Data();
wxChar *s = (wxChar *)node->Data();
m_excludeList.Add(s);
node = node->Next();
}