Store HTML "id" parameter value in wxHtmlCell.
Pass on the value of the ID to the cell object when adding a new cell. Closes #15535. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
486a0fa75f
commit
6d2190fcb4
@ -284,6 +284,13 @@ void wxHtmlTableCell::AddCell(wxHtmlContainerCell *cell, const wxHtmlTag& tag)
|
||||
|
||||
/* scan for parameters: */
|
||||
|
||||
// id:
|
||||
wxString idvalue;
|
||||
if (tag.GetParamAsString(wxT("ID"), &idvalue))
|
||||
{
|
||||
cell->SetId(idvalue);
|
||||
}
|
||||
|
||||
// width:
|
||||
{
|
||||
if (tag.HasParam(wxT("WIDTH")))
|
||||
|
Loading…
Reference in New Issue
Block a user