buffer.h - 'StrCopy' was not declared in this scop
In file included from ..\..\include/wx/strconv.h:18:0,
from ..\..\include/wx/strvararg.h:21,
from ..\..\include/wx/string.h:53,
from ..\..\include/wx/memory.h:16,
from ..\..\include/wx/object.h:20,
from ..\..\include/wx/utils.h:19,
from ..\..\include/wx/vector.h:31,
from ../../src/stc/scintilla/src/Selection.h:134,
from ../../src/stc/scintilla/src/Editor.cxx:41:
..\..\include/wx/buffer.h: In instantiation of 'wxCharTypeBuffer<T>::wxCharTypeB
uffer(const CharType*, size_t) [with T = char; wxCharTypeBuffer<T>::CharType = c
har; size_t = unsigned int]':
..\..\include/wx/buffer.h:358:72: required from here
..\..\include/wx/buffer.h:263:44: error: 'StrCopy' was not declared in this scop
e, and no declarations were found by argument-dependent lookup at the point of i
nstantiation [-fpermissive]
this->m_data = new Data(StrCopy(str, len), len);
~~~~~~~^~~~~~~~~~
wxCharTypeBuffer(const CharType *str = NULL, size_t len = wxNO_LEN)
{
if ( str )
{
if ( len == wxNO_LEN )
len = wxStrlen(str);
this->m_data = new Data(this->StrCopy(str, len), len);
}
else
{
this->m_data = this->GetNullData();
}
}