]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textentrycmn.cpp
move ScrollWindow() implementation to the base class and call private DoScrollHorz...
[wxWidgets.git] / src / common / textentrycmn.cpp
index 4adca176b049568a93603b7ffe79127742fdf709..8e0551c3dbac703c86d23859cbc64cf0ace15b9e 100644 (file)
@@ -62,6 +62,8 @@ void wxTextEntryBase::DoSetValue(const wxString& value, int flags)
 
     SelectAll();
     WriteText(value);
+
+    SetInsertionPoint(0);
 }
 
 void wxTextEntryBase::Replace(long from, long to, const wxString& value)