From 85df8658e022e05baba0edad7870f5e52b594707 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 18 Oct 2000 16:22:59 +0000 Subject: [PATCH] fixed UpdateLastVisible() - but why was it broken??? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/textctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ )