X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..1823fbb47a1d5ec4f706dc68929e7538463da556:/wxPython/src/_combobox.i diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index 079591dd81..6e955724ad 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -50,6 +50,8 @@ Events ------- ================ =============================================== EVT_COMBOBOX Sent when an item on the list is selected. + Note that calling `GetValue` in this handler + will return the newly selected value. EVT_TEXT Sent when the combobox text changes. ================ =============================================== "); @@ -153,6 +155,15 @@ combobox text field.", ""); "Selects the text between the two positions in the combobox text field.", "", SetMark); +#ifdef __WXMSW__ + DocDeclAStrName( + virtual void , GetSelection(long* OUTPUT, long* OUTPUT), + "GetMark(self) -> (from, to)", + "Gets the positions of the begining and ending of the selection mark in +the combobox text field.", "", + GetMark); +#endif + DocDeclStr( bool , SetStringSelection(const wxString& string), "Select the item with the specifed string", "");