git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3895
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
cel = new wxHtmlImageMapAreaCell( wxHtmlImageMapAreaCell::RECT, coords );
}
{
cel = new wxHtmlImageMapAreaCell( wxHtmlImageMapAreaCell::RECT, coords );
}
- if (cel && tag.HasParam("HREF"))
+ if (cel != NULL && tag.HasParam("HREF"))
{
wxString tmp = tag.GetParam("HREF");
cel->SetLink( tmp );
}
{
wxString tmp = tag.GetParam("HREF");
cel->SetLink( tmp );
}
- m_WParser->GetContainer()->InsertCell( cel );
+ if (cel != NULL) m_WParser->GetContainer()->InsertCell( cel );