- Unlike wxControlWithItems::GetSelection which only
- returns the accepted selection value, i.e. the selection in the control once
- the user closes the dropdown list, this function returns the current selection.
- That is, while the dropdown list is shown, it returns the currently selected
- item in it. When it is not shown, its result is the same as for the other
- function.
- This function is new since wxWidgets version 2.6.2 (before this version
- wxControlWithItems::GetSelection itself behaved like
- this).
+ Unlike wxControlWithItems::GetSelection() which only returns the
+ accepted selection value, i.e. the selection in the control once the
+ user closes the dropdown list, this function returns the current
+ selection. That is, while the dropdown list is shown, it returns the
+ currently selected item in it. When it is not shown, its result is the
+ same as for the other function.
+
+ @since 2.6.2.
+ In older versions, wxControlWithItems::GetSelection() itself
+ behaved like this.