fixed writing to wxUniCharRef after its 'parent' iterator was destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -673,7 +673,7 @@ public:
|
||||
}
|
||||
|
||||
reference operator*()
|
||||
{ return wxUniCharRef::CreateForString(m_node, m_cur); }
|
||||
{ return wxUniCharRef::CreateForString(*str(), m_cur); }
|
||||
|
||||
iterator operator+(ptrdiff_t n) const
|
||||
{ return iterator(str(), wxStringOperations::AddToIter(m_cur, n)); }
|
||||
|
Reference in New Issue
Block a user