]> git.saurik.com Git - wxWidgets.git/commit - src/generic/treectlg.cpp
Fix return value of wxGenericTreeCtrl::FindItem().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2012 22:41:38 +0000 (22:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Oct 2012 22:41:38 +0000 (22:41 +0000)
commite0dec8753abaf97e006ea1185bfb6775b28df0a8
tree7021193f8da8e70fab62116878a9fb7ea7bd1ef8
parent4d1cf9f3d3d6fc1dc8b29fe16a08b4c9b0545368
Fix return value of wxGenericTreeCtrl::FindItem().

We incorrectly returned the item we started from instead of invalid item if
there was no match, fix this.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/treectlg.cpp