Added functionality for disabling the vertical scrollbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1676,6 +1676,16 @@ public:
|
||||
*/
|
||||
virtual bool CanInsertContent(wxRichTextParagraphLayoutBox& container, long pos) const;
|
||||
|
||||
/**
|
||||
Enable or disable the vertical scrollbar.
|
||||
*/
|
||||
virtual void EnableVerticalScrollbar(bool enable);
|
||||
|
||||
/**
|
||||
Returns @true if the vertical scrollbar is enabled.
|
||||
*/
|
||||
virtual bool GetVerticalScrollbarEnabled() const { return m_verticalScrollbarEnabled; }
|
||||
|
||||
// Command handlers
|
||||
|
||||
/**
|
||||
@@ -2159,6 +2169,9 @@ protected:
|
||||
/// Are we editable?
|
||||
bool m_editable;
|
||||
|
||||
/// Is the vertical scrollbar enabled?
|
||||
bool m_verticalScrollbarEnabled;
|
||||
|
||||
/// Are we showing the caret position at the start of a line
|
||||
/// instead of at the end of the previous one?
|
||||
bool m_caretAtLineStart;
|
||||
|
Reference in New Issue
Block a user