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:
@@ -284,6 +284,13 @@ void wxHtmlTableCell::AddCell(wxHtmlContainerCell *cell, const wxHtmlTag& tag)
|
|||||||
|
|
||||||
/* scan for parameters: */
|
/* scan for parameters: */
|
||||||
|
|
||||||
|
// id:
|
||||||
|
wxString idvalue;
|
||||||
|
if (tag.GetParamAsString(wxT("ID"), &idvalue))
|
||||||
|
{
|
||||||
|
cell->SetId(idvalue);
|
||||||
|
}
|
||||||
|
|
||||||
// width:
|
// width:
|
||||||
{
|
{
|
||||||
if (tag.HasParam(wxT("WIDTH")))
|
if (tag.HasParam(wxT("WIDTH")))
|
||||||
|
Reference in New Issue
Block a user