X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5125dc6edfdf0bc1963b8c797da3c874e864549..f8d0234d39c66f3d1d7fc2346562cb96c8c7be20:/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); }