- /// Sets the style
- void SetStyle(const wxRichTextAttr& style) { m_style = style; }
- const wxRichTextAttr& GetStyle() const { return m_style; }
- wxRichTextAttr& GetStyle() { return m_style; }
+ /// Sets and gets the style
+ void SetStyle(const wxTextAttr& style) { m_style = style; }
+ const wxTextAttr& GetStyle() const { return m_style; }
+ wxTextAttr& GetStyle() { return m_style; }
+
+ /// Gets the style combined with the base style
+ virtual wxTextAttr GetStyleMergedWithBase(const wxRichTextStyleSheet* sheet) const;