From 6fac75c3557e56ec4aae1c2d39c017704d5d2eb3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 1 Jun 2003 13:28:09 +0000 Subject: [PATCH] added default ctor and SetSelection to wxHtmlRenderingState git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/htmlcell.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 6a7a62f289..4b2e9f72c3 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -79,8 +79,9 @@ enum wxHtmlSelectionState class WXDLLEXPORT wxHtmlRenderingState { public: - wxHtmlRenderingState(wxHtmlSelection *s) + wxHtmlRenderingState(wxHtmlSelection *s = NULL) : m_selection(s), m_selState(wxHTML_SEL_OUT) {} + void SetSelection(wxHtmlSelection *s) { m_selection = s; } wxHtmlSelection *GetSelection() const { return m_selection; } void SetSelectionState(wxHtmlSelectionState s) { m_selState = s; } -- 2.50.0