Use wxString::empty() instead of comparison to wxEmptyString

This commit is contained in:
Paul Cornett
2017-05-29 00:05:52 -07:00
parent d16afbd3c1
commit c1f2bbce5d
10 changed files with 29 additions and 29 deletions

View File

@@ -179,7 +179,7 @@ wxHtmlCell::AdjustPagebreak(int *pagebreak,
void wxHtmlCell::SetLink(const wxHtmlLinkInfo& link)
{
wxDELETE(m_Link);
if (link.GetHref() != wxEmptyString)
if (!link.GetHref().empty())
m_Link = new wxHtmlLinkInfo(link);
}