Ticket #11970 (closed defect: fixed)
wxDataViewChoiceRenderer set/get methods should use the current selection index not a string
|Reported by:||HansR||Owned by:|
At present the wxDataViewChoiceRenderer's set and get methods accept and return strings, respectively. This means that any data model that uses this class has to read the strings and work backward to get the choice that the user entered. It is the choice, and not the string describing the choice, that the application needs, and the current method makes getting this information complicated.
It would be much better if the current selection index were used instead. The string could still be used internally by the renderer, but the data model needs the selection index.