1. NOT_FOUND -> wxNOT_FOUND

2. wxString::Left(), Right(), Before(), After() clean up
3. wxLocale updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-01-14 14:33:56 +00:00
parent afcaf277af
commit 3c67202dee
19 changed files with 482 additions and 595 deletions

View File

@@ -188,7 +188,7 @@ int wxBaseArray::Index(long lItem, bool bFromEnd) const
}
}
return NOT_FOUND;
return wxNOT_FOUND;
}
// search for an item in a sorted array (binary search)
@@ -211,7 +211,7 @@ int wxBaseArray::Index(long lItem, CMPFUNC fnCompare) const
return i;
}
return NOT_FOUND;
return wxNOT_FOUND;
}
// add item at the end
void wxBaseArray::Add(long lItem)
@@ -275,7 +275,7 @@ void wxBaseArray::Remove(long lItem)
{
int iIndex = Index(lItem);
wxCHECK_RET( iIndex != NOT_FOUND,
wxCHECK_RET( iIndex != wxNOT_FOUND,
"removing inexistent item in wxArray::Remove" );
Remove((size_t)iIndex);