]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected wrong range in GetText
authorJulian Smart <julian@anthemion.co.uk>
Sat, 15 Jan 2011 15:31:20 +0000 (15:31 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 15 Jan 2011 15:31:20 +0000 (15:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextbuffer.cpp

index 86e5bdab6641f2fde7c307279e3f7ac30a502d6c..3973df7cdf5ebed01c95780741cceadd411f25a3 100644 (file)
@@ -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