MakeOwnedCopyOf err
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 wxScopedCharTypeBuffer<T>&) [with T = char]':
..\..\include/wx/buffer.h:356:35: required from here
..\..\include/wx/buffer.h:304:24: error: 'MakeOwnedCopyOf' was not declared in t
his scope, and no declarations were found by argument-dependent lookup at the po
int of instantiation [-fpermissive]
MakeOwnedCopyOf(src);
~~~~~~~~~~~~~~~^~~~~
=>
wxCharTypeBuffer(const wxScopedCharTypeBuffer<T>& src)
{
this->MakeOwnedCopyOf(src);
}