]> git.saurik.com Git - wxWidgets.git/commitdiff
positioning of the insertion point at the end
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 1 May 2004 06:32:24 +0000 (06:32 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 1 May 2004 06:32:24 +0000 (06:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index f05af51e4536dcd913e287475944c033da7b99d1..61f918d55418b1603194ed1704eb07038e836538 100644 (file)
@@ -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
     }