added default ctor and SetSelection to wxHtmlRenderingState

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-06-01 13:28:09 +00:00
parent 17816c2e70
commit 6fac75c355

View File

@@ -79,8 +79,9 @@ enum wxHtmlSelectionState
class WXDLLEXPORT wxHtmlRenderingState class WXDLLEXPORT wxHtmlRenderingState
{ {
public: public:
wxHtmlRenderingState(wxHtmlSelection *s) wxHtmlRenderingState(wxHtmlSelection *s = NULL)
: m_selection(s), m_selState(wxHTML_SEL_OUT) {} : m_selection(s), m_selState(wxHTML_SEL_OUT) {}
void SetSelection(wxHtmlSelection *s) { m_selection = s; }
wxHtmlSelection *GetSelection() const { return m_selection; } wxHtmlSelection *GetSelection() const { return m_selection; }
void SetSelectionState(wxHtmlSelectionState s) { m_selState = s; } void SetSelectionState(wxHtmlSelectionState s) { m_selState = s; }