remove needless casting (no real change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -427,13 +427,13 @@ void wxHtmlWinParser::DoAddText(wxChar *temp, int& templen)
|
|||||||
temp[j] = wxT(' ');
|
temp[j] = wxT(' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
wxHtmlCell *c = new wxHtmlWordCell(temp, *(GetDC()));
|
wxHtmlWordCell *c = new wxHtmlWordCell(temp, *(GetDC()));
|
||||||
|
|
||||||
ApplyStateToCell(c);
|
ApplyStateToCell(c);
|
||||||
|
|
||||||
m_Container->InsertCell(c);
|
m_Container->InsertCell(c);
|
||||||
((wxHtmlWordCell*)c)->SetPreviousWord(m_lastWordCell);
|
c->SetPreviousWord(m_lastWordCell);
|
||||||
m_lastWordCell = (wxHtmlWordCell*)c;
|
m_lastWordCell = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user