No real change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
59e034c034
commit
236de6f62a
@ -401,7 +401,7 @@ void wxTextCtrl::WriteText(const wxString& text)
|
||||
|
||||
void wxTextCtrl::AppendText(const wxString& text)
|
||||
{
|
||||
long textPosition = GetLastPosition() + strlen(text);
|
||||
long textPosition = GetLastPosition() + text.length();
|
||||
XmTextInsert ((Widget) m_mainWidget, GetLastPosition(),
|
||||
wxConstCast(text.c_str(), char));
|
||||
XtVaSetValues ((Widget) m_mainWidget, XmNcursorPosition, textPosition, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user