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:
@@ -2862,7 +2862,7 @@ wxString wxRichTextParagraphLayoutBox::GetTextForRange(const wxRichTextRange& ra
|
|||||||
/// Get all the text
|
/// Get all the text
|
||||||
wxString wxRichTextParagraphLayoutBox::GetText() const
|
wxString wxRichTextParagraphLayoutBox::GetText() const
|
||||||
{
|
{
|
||||||
return GetTextForRange(GetRange());
|
return GetTextForRange(GetOwnRange());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get the paragraph by number
|
/// Get the paragraph by number
|
||||||
|
Reference in New Issue
Block a user