X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3093cef829d26137a14303c36d592ed817da1028..1f2f0331455e0a91fdbc57afefe8f8c7c0db9392:/src/common/dynarray.cpp?ds=sidebyside diff --git a/src/common/dynarray.cpp b/src/common/dynarray.cpp index 4d13c80f0b..80f7006759 100644 --- a/src/common/dynarray.cpp +++ b/src/common/dynarray.cpp @@ -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);