Use compiler-generated copy ctor and assignment operator for wxHtmlLinkInfo
This commit is contained in:
@@ -652,12 +652,6 @@ public:
|
|||||||
{ 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()
|
|
||||||
{ m_Href = l.m_Href; m_Target = l.m_Target; m_Event = l.m_Event;
|
|
||||||
m_Cell = l.m_Cell; }
|
|
||||||
wxHtmlLinkInfo& operator=(const wxHtmlLinkInfo& l)
|
|
||||||
{ m_Href = l.m_Href; m_Target = l.m_Target; m_Event = l.m_Event;
|
|
||||||
m_Cell = l.m_Cell; return *this; }
|
|
||||||
|
|
||||||
void SetEvent(const wxMouseEvent *e) { m_Event = e; }
|
void SetEvent(const wxMouseEvent *e) { m_Event = e; }
|
||||||
void SetHtmlCell(const wxHtmlCell *e) { m_Cell = e; }
|
void SetHtmlCell(const wxHtmlCell *e) { m_Cell = e; }
|
||||||
|
Reference in New Issue
Block a user