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:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user