diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index b719fb6b60..5b02e5a2a9 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -1388,7 +1388,7 @@ void wxTextCtrl::UpdateLastVisible() w = wOld = 0; - m_colLastVisible = m_colStart - 1; + m_colLastVisible = m_colStart; const wxChar *pc = m_value.c_str() + (size_t)m_colStart; for ( ; *pc; pc++ )