Now works when derived from wxTextCtrlBase, using wxScrollHelper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -383,7 +383,7 @@ public:
|
||||
|
||||
/// Layout the buffer: which we must do before certain operations, such as
|
||||
/// setting the caret position.
|
||||
virtual bool Layout(bool onlyVisibleRect = false);
|
||||
virtual bool LayoutContent(bool onlyVisibleRect = false);
|
||||
|
||||
/// Move the caret to the given character position
|
||||
virtual bool MoveCaret(long pos, bool showAtLineStart = false);
|
||||
@@ -573,6 +573,10 @@ public:
|
||||
|
||||
// Implementation
|
||||
|
||||
#if wxRICHTEXT_DERIVES_FROM_TEXTCTRLBASE
|
||||
WX_FORWARD_TO_SCROLL_HELPER()
|
||||
#endif
|
||||
|
||||
/// Set font, and also default attributes
|
||||
virtual bool SetFont(const wxFont& font);
|
||||
|
||||
|
Reference in New Issue
Block a user