(I'm back to wxW after nearly 20 years so be patient with my out of date way of collaboration. I will try to improve ASAP.)
Bug description:
Broken rename if selection order in wxRearrangeDialog part of dialogs sample is changed.
Expected vs observed behaviour:
When you select item and reorder and rename then you expect selected item to be changed but different nonselected item is changed.
To Reproduce:
Steps to reproduce the behaviour, please make them as detailed as possible.
For example:
Start dialogs sample
Select in menu Dialogs->Choices and selectors->Rearrange dialog
Select in list fourth element named "Creation time" so the text field below list shows "Ctime" label and "Creation time" content
Click "Up" button to move selected fourth element to third position
Change text in textfield from "Creation time" to "Creature" and click "Rename" button
In list not selected fourth element "Size" is changed and selected third element is not changed.
Possible reason:
In MyRearrangeDialog class the m_sel field does not take into account changes in order by Up and Down buttons but in OnRename method it is taken to GetList()->SetString
Description
(I'm back to wxW after nearly 20 years so be patient with my out of date way of collaboration. I will try to improve ASAP.)
Bug description:
Broken rename if selection order in wxRearrangeDialog part of dialogs sample is changed.
Expected vs observed behaviour:
When you select item and reorder and rename then you expect selected item to be changed but different nonselected item is changed.
To Reproduce:
Steps to reproduce the behaviour, please make them as detailed as possible. For example:
Possible reason: In MyRearrangeDialog class the m_sel field does not take into account changes in order by Up and Down buttons but in OnRename method it is taken to GetList()->SetString
Platform and version information