X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5125dc6edfdf0bc1963b8c797da3c874e864549..fcdd53359135f790b85728c4254b97095a56dad8:/src/common/textentrycmn.cpp diff --git a/src/common/textentrycmn.cpp b/src/common/textentrycmn.cpp index 8e0551c3db..b179499381 100644 --- a/src/common/textentrycmn.cpp +++ b/src/common/textentrycmn.cpp @@ -73,6 +73,7 @@ void wxTextEntryBase::Replace(long from, long to, const wxString& value) Remove(from, to); } + SetInsertionPoint(from); WriteText(value); }