Corrected wrong range in GetText

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2011-01-15 15:31:20 +00:00
parent 2865d42dd6
commit c99f1b0fd6

View 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