Selection marking seems fine now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,12 +158,13 @@ wxLayoutExportStatus::wxLayoutExportStatus(wxLayoutList *list,
|
||||
m_fromPos = fromPos;
|
||||
m_toPos = toPos;
|
||||
|
||||
if(m_fromPos != wxLayoutExportNoPosition)
|
||||
if(m_fromPos.x != -1)
|
||||
{
|
||||
while(m_line && (*m_line)->GetLineNumber() != m_fromPos.y)
|
||||
m_line->GetNextLine();
|
||||
while(m_line && m_line->GetLineNumber() != m_fromPos.y)
|
||||
m_line = m_line->GetNextLine();
|
||||
wxASSERT(m_line);
|
||||
m_iterator = (**i).FindObject(fromPos.x);
|
||||
CoordType dummy;
|
||||
m_iterator = m_line->FindObject(fromPos.x, &dummy);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user