From: Julian Smart Date: Sat, 15 Jan 2011 15:31:20 +0000 (+0000) Subject: Corrected wrong range in GetText X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c99f1b0fd683e5eaaf0ccb916780671a8c41555a?ds=inline Corrected wrong range in GetText git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index 86e5bdab66..3973df7cdf 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -2862,7 +2862,7 @@ wxString wxRichTextParagraphLayoutBox::GetTextForRange(const wxRichTextRange& ra /// Get all the text wxString wxRichTextParagraphLayoutBox::GetText() const { - return GetTextForRange(GetRange()); + return GetTextForRange(GetOwnRange()); } /// Get the paragraph by number