From f10ccf9e6b4e67e08a3d13cd06cb13f28be15f4f Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 30 Oct 2006 11:41:38 +0000 Subject: [PATCH] don't use deprecated wxSTRING_MAXLEN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42711 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 ae6e1d5d45..ff7515af56 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -3732,7 +3732,7 @@ void wxTextCtrl::RefreshTextRange(wxTextPos start, wxTextPos end) { // intermediate line or the last one but we need to refresh it // until the end anyhow - do it - posCount = wxSTRING_MAXLEN; + posCount = wxString::npos; } else // last line { -- 2.45.2