]> git.saurik.com Git - wxWidgets.git/commit - src/generic/odcombo.cpp
Fix wxOwnerDrawnComboBox keyboard navigation with duplicate items.
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 3 Sep 2010 19:33:18 +0000 (19:33 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 3 Sep 2010 19:33:18 +0000 (19:33 +0000)
commit71dd05d58a244cbecb5d69f760601e39698a2bee
tree47ae62ee03e382f4db42232d3888749ba540525d
parent0a9c5e3564ed35162bb8cab5af62a98405364fb8
Fix wxOwnerDrawnComboBox keyboard navigation with duplicate items.

If the combobox contained duplicate strings (i.e. multiple items with the
same string value, but differing indexes), then navigating to the second
and subsequent ones skipped to the first occurence instead. We need to
preserve the index.

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