Added support for sub-object virtual attributes (temporary attributes for characters within objects)
and also virtual text that can replace the actual text. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user