From: Václav Slavík Date: Mon, 30 Oct 2006 11:41:38 +0000 (+0000) Subject: don't use deprecated wxSTRING_MAXLEN X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f10ccf9e6b4e67e08a3d13cd06cb13f28be15f4f don't use deprecated wxSTRING_MAXLEN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 {