git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49445
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_UNICODE_UTF8
// see the comment near wxString::iterator for why we need this
#if wxUSE_UNICODE_UTF8
// see the comment near wxString::iterator for why we need this
-struct WXDLLIMPEXP_BASE wxStringIteratorNode
+class WXDLLIMPEXP_BASE wxStringIteratorNode
wxStringIteratorNode()
: m_str(NULL), m_citer(NULL), m_iter(NULL), m_prev(NULL), m_next(NULL) {}
wxStringIteratorNode(const wxString *str,
wxStringIteratorNode()
: m_str(NULL), m_citer(NULL), m_iter(NULL), m_prev(NULL), m_next(NULL) {}
wxStringIteratorNode(const wxString *str,
wxString& append(const wxString& str, size_t pos, size_t n)
{
size_t from, len;
wxString& append(const wxString& str, size_t pos, size_t n)
{
size_t from, len;
- str.PosLenToImpl(pos, n, &from, &len);
+ PosLenToImpl(pos, n, &from, &len);
m_impl.append(str.m_impl, from, len);
return *this;
}
m_impl.append(str.m_impl, from, len);
return *this;
}
wxString& assign(const wxString& str, size_t pos, size_t n)
{
size_t from, len;
wxString& assign(const wxString& str, size_t pos, size_t n)
{
size_t from, len;
- str.PosLenToImpl(pos, n, &from, &len);
+ PosLenToImpl(pos, n, &from, &len);
m_impl.assign(str.m_impl, from, len);
return *this;
}
m_impl.assign(str.m_impl, from, len);
return *this;
}
wxString& insert(size_t nPos, const wxString& str, size_t nStart, size_t n)
{
size_t from, len;
wxString& insert(size_t nPos, const wxString& str, size_t nStart, size_t n)
{
size_t from, len;
- str.PosLenToImpl(nStart, n, &from, &len);
+ PosLenToImpl(nStart, n, &from, &len);
m_impl.insert(PosToImpl(nPos), str.m_impl, from, len);
return *this;
}
m_impl.insert(PosToImpl(nPos), str.m_impl, from, len);
return *this;
}
PosLenToImpl(nStart, nLen, &from, &len);
size_t from2, len2;
PosLenToImpl(nStart, nLen, &from, &len);
size_t from2, len2;
- str.PosLenToImpl(nStart2, nLen2, &from2, &len2);
+ PosLenToImpl(nStart2, nLen2, &from2, &len2);
m_impl.replace(from, len, str.m_impl, from2, len2);
return *this;
m_impl.replace(from, len, str.m_impl, from2, len2);
return *this;