X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/732281950a766e94828787ff571f73fecb83949e..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/richtext/richtextctrl.h diff --git a/include/wx/richtext/richtextctrl.h b/include/wx/richtext/richtextctrl.h index efd4959840..364f62a68d 100644 --- a/include/wx/richtext/richtextctrl.h +++ b/include/wx/richtext/richtextctrl.h @@ -1760,6 +1760,18 @@ public: */ wxRect GetScaledRect(const wxRect& rect) const; + /** + Returns @true if this control can use virtual attributes and virtual text. + The default is @false. + */ + bool GetVirtualAttributesEnabled() const { return m_useVirtualAttributes; } + + /** + Pass @true to let the control use virtual attributes. + The default is @false. + */ + void EnableVirtualAttributes(bool b) { m_useVirtualAttributes = b; } + // Command handlers /** @@ -2254,6 +2266,9 @@ protected: /// Are we editable? bool m_editable; + /// Can we use virtual attributes and virtual text? + bool m_useVirtualAttributes; + /// Is the vertical scrollbar enabled? bool m_verticalScrollbarEnabled;