parent
d847f3b039
commit
55d0b594ff
1 changed files with 3 additions and 0 deletions
|
|
@ -1810,6 +1810,9 @@ bool wxRichTextCtrl::ExtendSelection(long oldPos, long newPos, int flags)
|
|||
/// This takes a _caret_ position.
|
||||
bool wxRichTextCtrl::ScrollIntoView(long position, int keyCode)
|
||||
{
|
||||
if (!m_verticalScrollbarEnabled)
|
||||
return false;
|
||||
|
||||
wxRichTextLine* line = GetVisibleLineForCaretPosition(position);
|
||||
|
||||
if (!line)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue