From: Stefan Csomor Date: Sat, 1 May 2004 06:32:24 +0000 (+0000) Subject: positioning of the insertion point at the end X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/57ab966bab900a399e5b75382fcfe62263ff06d6 positioning of the insertion point at the end git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index f05af51e45..61f918d554 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -1451,6 +1451,7 @@ void wxTextCtrl::WriteText(const wxString& str) val.Remove( start , end - start ) ; val.insert( start , str ) ; SetValue( val ) ; + SetInsertionPoint( start + str.Length() ) ; #endif #endif }