]> git.saurik.com Git - wxWidgets.git/commit - include/wx/editlbox.h
Keep item data in sync with their position in wxEditableListBox.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Nov 2012 23:56:44 +0000 (23:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Nov 2012 23:56:44 +0000 (23:56 +0000)
commit6b0dfbca1d817c033b10be2713dbb9d1b7ae0863
tree0f9d80e1f9a8ba3971ec3b63d7b46baef13ecf8e
parent639dbb6dd6fd420845607c2dcac25541da1b58e2
Keep item data in sync with their position in wxEditableListBox.

When swapping the items, we also need to swap their client data and not just
their labels.

Closes #14800.

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