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:
Julian Smart
2006-11-01 09:45:06 +00:00
parent 82ec1f7035
commit 27b5dab348

View File

@@ -5953,8 +5953,8 @@ bool wxRichTextAction::Do()
if (pt.y > lastY)
{
node2 = NULL;
node = NULL;
node2 = wxRichTextLineList::compatibility_iterator();
node = wxRichTextObjectList::compatibility_iterator();
}
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
{
node2 = NULL;
node = NULL;
node2 = wxRichTextLineList::compatibility_iterator();
node = wxRichTextObjectList::compatibility_iterator();
}
else
{
@@ -6139,8 +6139,9 @@ void wxRichTextAction::UpdateAppearance(long caretPosition, bool sendUpdateEvent
foundEnd = true;
lastY = pt.y - firstVisiblePt.y;
node2 = NULL;
node = NULL;
node2 = wxRichTextLineList::compatibility_iterator();
node = wxRichTextObjectList::compatibility_iterator();
break;
}
}