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:
Julian Smart
2005-10-22 13:44:30 +00:00
parent a4f4d548ce
commit 2f36e8dce5
3 changed files with 12 additions and 8 deletions

View File

@@ -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);