]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use deprecated wxSTRING_MAXLEN
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 30 Oct 2006 11:41:38 +0000 (11:41 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 30 Oct 2006 11:41:38 +0000 (11:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/textctrl.cpp

index ae6e1d5d4547e50e7dd61c12881ab7dd8dbeae94..ff7515af56758b1cf4b71677593cae22aee4ea6f 100644 (file)
@@ -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
         {