Ticket #14800 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

EditableListBox doesnt retain associated data when OnItemUp and OnItemDown

Reported by: Chuddah Owned by:
Priority: high Milestone: 2.9.5
Component: GUI-generic Version: 2.9-svn
Keywords: EditableTextBox Data Cc:
Blocked By: Patch: yes
Blocking:

Description

EditableListBox doesnt retain associated data when OnItemUp and OnItemDown.

Patch describes this better than I can do in English.

Attachments

EditableListBoxItemData.patch download (4.4 KB) - added by Chuddah 8 months ago.
Patch fix

Change History

Changed 8 months ago by Chuddah

Patch fix

Changed 7 months ago by VZ

  • status changed from new to closed
  • resolution set to fixed

(In [72916]) 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.

Note: See TracTickets for help on using tickets.