don't use deprecated wxSTRING_MAXLEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
89fd8148ce
commit
f10ccf9e6b
@ -3732,7 +3732,7 @@ void wxTextCtrl::RefreshTextRange(wxTextPos start, wxTextPos end)
|
|||||||
{
|
{
|
||||||
// intermediate line or the last one but we need to refresh it
|
// intermediate line or the last one but we need to refresh it
|
||||||
// until the end anyhow - do it
|
// until the end anyhow - do it
|
||||||
posCount = wxSTRING_MAXLEN;
|
posCount = wxString::npos;
|
||||||
}
|
}
|
||||||
else // last line
|
else // last line
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user