]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textentrycmn.cpp
handle correctly never/always shown scrollbars in GetClientSize()
[wxWidgets.git] / src / common / textentrycmn.cpp
index 8e0551c3dbac703c86d23859cbc64cf0ace15b9e..b179499381aabc301d04f1350149301da92d740e 100644 (file)
@@ -73,6 +73,7 @@ void wxTextEntryBase::Replace(long from, long to, const wxString& value)
         Remove(from, to);
     }
 
+    SetInsertionPoint(from);
     WriteText(value);
 }