Out by one correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6727,10 +6727,10 @@ bool wxRichTextBuffer::PasteFromClipboard(long position)
|
||||
if (action->GetNewParagraphs().GetChildCount() == 1)
|
||||
action->GetNewParagraphs().SetPartialParagraph(true);
|
||||
|
||||
action->SetPosition(position);
|
||||
action->SetPosition(position+1);
|
||||
|
||||
// Set the range we'll need to delete in Undo
|
||||
action->SetRange(wxRichTextRange(position, position));
|
||||
action->SetRange(wxRichTextRange(position+1, position+1));
|
||||
|
||||
SubmitAction(action);
|
||||
|
||||
|
Reference in New Issue
Block a user