X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd8ba0d9e4f7f3a650cffff4dd99c11b75a86ceb..ddfdef64fadb32a8c122977ff70669a9d8d5a37d:/src/richtext/richtextctrl.cpp diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index f577276abf..252cfe22af 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -236,6 +236,8 @@ void wxRichTextCtrl::Clear() m_caretAtLineStart = false; m_selectionRange.SetRange(-2, -2); + Scroll(0,0); + if (!IsFrozen()) { LayoutContent();