Fix wxArray::Index() with bFromEnd=true in STL build.
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 5 Nov 2011 15:20:32 +0000 (15:20 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 5 Nov 2011 15:20:32 +0000 (15:20 +0000)
commit12a7fb5f0bfa6a6c9b5634eca3144490d6403aca
treecfeaebabe8d16a8f19793322a979d2b02e6c61f1
parent23f32cd750763cdb390e018ea0be64da564b59f2
Fix wxArray::Index() with bFromEnd=true in STL build.

This function incorrectly returned index from the end of the array when
searching from the end. Fixed to work as the non-STL version.

Fixes #13626.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dynarray.h