+wxLayoutExportStatus::wxLayoutExportStatus(wxLayoutList *list,
+ wxPoint fromPos,
+ wxPoint toPos)
+{
+ list->GetDefaults()->GetStyle(&m_si);
+ m_line = list->GetFirstLine();
+ m_iterator = m_line->GetFirstObject();
+ m_fromPos = fromPos;
+ m_toPos = toPos;
+
+ if(m_fromPos != wxLayoutExportNoPosition)
+ {
+ while(m_line && (*m_line)->GetLineNumber() != m_fromPos.y)
+ m_line->GetNextLine();
+ wxASSERT(m_line);
+ m_iterator = (**i).FindObject(fromPos.x);
+ }
+}
+
+
+