diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index c8f6884599..ac69ed1e4a 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -790,10 +790,7 @@ void wxTextCtrl::DoSetValue(const wxString& value, int flags) Replace(0, GetLastPosition(), value); - if ( IsSingleLine() ) - { - SetInsertionPoint(0); - } + SetInsertionPoint(0); } else // nothing changed {