Fixed compile error with --enable-stl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5953,8 +5953,8 @@ bool wxRichTextAction::Do()
|
|||||||
|
|
||||||
if (pt.y > lastY)
|
if (pt.y > lastY)
|
||||||
{
|
{
|
||||||
node2 = NULL;
|
node2 = wxRichTextLineList::compatibility_iterator();
|
||||||
node = NULL;
|
node = wxRichTextObjectList::compatibility_iterator();
|
||||||
}
|
}
|
||||||
else if (range.GetStart() > GetPosition() && pt.y >= firstVisiblePt.y)
|
else if (range.GetStart() > GetPosition() && pt.y >= firstVisiblePt.y)
|
||||||
{
|
{
|
||||||
@@ -6118,8 +6118,8 @@ void wxRichTextAction::UpdateAppearance(long caretPosition, bool sendUpdateEvent
|
|||||||
|
|
||||||
if (pt.y > lastY) // going past the end of the window, no more info
|
if (pt.y > lastY) // going past the end of the window, no more info
|
||||||
{
|
{
|
||||||
node2 = NULL;
|
node2 = wxRichTextLineList::compatibility_iterator();
|
||||||
node = NULL;
|
node = wxRichTextObjectList::compatibility_iterator();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -6139,8 +6139,9 @@ void wxRichTextAction::UpdateAppearance(long caretPosition, bool sendUpdateEvent
|
|||||||
foundEnd = true;
|
foundEnd = true;
|
||||||
lastY = pt.y - firstVisiblePt.y;
|
lastY = pt.y - firstVisiblePt.y;
|
||||||
|
|
||||||
node2 = NULL;
|
node2 = wxRichTextLineList::compatibility_iterator();
|
||||||
node = NULL;
|
node = wxRichTextObjectList::compatibility_iterator();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user