X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40a0d6ca1f997c12ebc396b3f8716f6f0c5de55b..777dffec694eae7231e4133e5dc6bbca78045f29:/wxPython/src/_combobox.i diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index 9359f75dfb..d842914b93 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -166,6 +166,15 @@ the combobox text field.", "", GetMark); #endif + DocDeclStr( + int , GetCurrentSelection() const, + "Unlike `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.", ""); + DocDeclStr( bool , SetStringSelection(const wxString& string), "Select the item with the specifed string", "");