Fix accidental use of comma operator
This commit is contained in:
@@ -649,14 +649,14 @@ class WXDLLIMPEXP_HTML wxHtmlLinkInfo : public wxObject
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxHtmlLinkInfo() : wxObject()
|
wxHtmlLinkInfo() : wxObject()
|
||||||
{ m_Href = m_Target = wxEmptyString; m_Event = NULL, m_Cell = NULL; }
|
{ m_Href = m_Target = wxEmptyString; m_Event = NULL; m_Cell = NULL; }
|
||||||
wxHtmlLinkInfo(const wxString& href, const wxString& target = wxEmptyString) : wxObject()
|
wxHtmlLinkInfo(const wxString& href, const wxString& target = wxEmptyString) : wxObject()
|
||||||
{ m_Href = href; m_Target = target; m_Event = NULL, m_Cell = NULL; }
|
{ m_Href = href; m_Target = target; m_Event = NULL; m_Cell = NULL; }
|
||||||
wxHtmlLinkInfo(const wxHtmlLinkInfo& l) : wxObject()
|
wxHtmlLinkInfo(const wxHtmlLinkInfo& l) : wxObject()
|
||||||
{ m_Href = l.m_Href, m_Target = l.m_Target, m_Event = l.m_Event;
|
{ m_Href = l.m_Href; m_Target = l.m_Target; m_Event = l.m_Event;
|
||||||
m_Cell = l.m_Cell; }
|
m_Cell = l.m_Cell; }
|
||||||
wxHtmlLinkInfo& operator=(const wxHtmlLinkInfo& l)
|
wxHtmlLinkInfo& operator=(const wxHtmlLinkInfo& l)
|
||||||
{ m_Href = l.m_Href, m_Target = l.m_Target, m_Event = l.m_Event;
|
{ m_Href = l.m_Href; m_Target = l.m_Target; m_Event = l.m_Event;
|
||||||
m_Cell = l.m_Cell; return *this; }
|
m_Cell = l.m_Cell; return *this; }
|
||||||
|
|
||||||
void SetEvent(const wxMouseEvent *e) { m_Event = e; }
|
void SetEvent(const wxMouseEvent *e) { m_Event = e; }
|
||||||
|
Reference in New Issue
Block a user