X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89971c77101b3fd7d1c9321c6cfb12d5a373bdc0..931483d799fcac4a442b123d32b14282ee17dc8d:/docs/latex/wx/combobox.tex diff --git a/docs/latex/wx/combobox.tex b/docs/latex/wx/combobox.tex index 9f87526fde..2ffe9b4427 100644 --- a/docs/latex/wx/combobox.tex +++ b/docs/latex/wx/combobox.tex @@ -6,6 +6,10 @@ text field; or a drop-down list without a text field. A combobox permits a single selection only. Combobox items are numbered from zero. +If you need a customized combobox, have a look at \helpref{wxComboCtrl}{wxcomboctrl}, +\helpref{wxOwnerDrawnComboBox}{wxownerdrawncombobox}, \helpref{wxComboPopup}{wxcombopopup} +and the ready-to-use \helpref{wxBitmapComboBox}{wxbitmapcombobox}. + \wxheading{Derived from} \helpref{wxControlWithItems}{wxcontrolwithitems}\\ @@ -27,7 +31,7 @@ A combobox permits a single selection only. Combobox items are numbered from zer strings specified as the combobox choices can be selected, it is impossible to select (even from a program) a string which is not in the choices list.} \twocolitem{\windowstyle{wxCB\_SORT}}{Sorts the entries in the list alphabetically.} -\twocolitem{\windowstyle{wxPROCESS\_ENTER}}{The control will generate +\twocolitem{\windowstyle{wxTE\_PROCESS\_ENTER}}{The control will generate the event wxEVT\_COMMAND\_TEXT\_ENTER (otherwise pressing Enter key is either processed internally by the control or used for navigation between dialog controls). Windows only.} @@ -187,6 +191,16 @@ Copies the selected text to the clipboard. Copies the selected text to the clipboard and removes the selection. +\membersection{wxComboBox::GetCurrentSelection}\label{wxcomboboxgetcurrentselection} + +\constfunc{int}{GetCurrentSelection}{\void} + +This function does the same things as +\helpref{wxChoice::GetCurrentSelection}{wxchoicegetcurrentselection} and +returns the item currently selected in the dropdown list if it's open or the +same thing as \helpref{GetSelection}{wxcontrolwithitemsgetselection} otherwise. + + \membersection{wxComboBox::GetInsertionPoint}\label{wxcomboboxgetinsertionpoint} \constfunc{long}{GetInsertionPoint}{\void}