From 57ab966bab900a399e5b75382fcfe62263ff06d6 Mon Sep 17 00:00:00 2001 From: Stefan Csomor <csomor@advancedconcepts.ch> Date: Sat, 1 May 2004 06:32:24 +0000 Subject: [PATCH] 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 --- src/mac/carbon/textctrl.cpp | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.45.2