X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1219d8a408594758df81e0d459dc80edb3bd26e0..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/listbox.tex?ds=sidebyside diff --git a/docs/latex/wx/listbox.tex b/docs/latex/wx/listbox.tex index de3946a513..8cdea83876 100644 --- a/docs/latex/wx/listbox.tex +++ b/docs/latex/wx/listbox.tex @@ -7,8 +7,8 @@ is selected, the previous selection is removed) or multiple selection (clicking an item toggles the item on or off independently of other selections). -List box elements are numbered from zero. Their number is limited in -some platforms (e.g. ca. 2000 on GTK). +List box elements are numbered from zero. Their number may be limited +under some platforms. A listbox callback gets an event wxEVT\_COMMAND\_LISTBOX\_SELECTED for single clicks, and wxEVT\_COMMAND\_LISTBOX\_DOUBLE\_CLICKED for double clicks. @@ -25,6 +25,10 @@ wxEVT\_COMMAND\_LISTBOX\_DOUBLE\_CLICKED for double clicks. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} \twocolwidtha{5cm}% @@ -51,7 +55,7 @@ See also \helpref{window styles overview}{windowstyles}. \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt \twocolitem{{\bf EVT\_LISTBOX(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_SELECTED event, -when an item on the list is selected.} +when an item on the list is selected or the selection changes.} \twocolitem{{\bf EVT\_LISTBOX\_DCLICK(id, func)}}{Process a wxEVT\_COMMAND\_LISTBOX\_DOUBLECLICKED event, when the listbox is double-clicked.} \end{twocollist} @@ -261,7 +265,7 @@ called. \func{void}{SetFirstItem}{\param{const wxString\& }{string}} -Set the specified item to be the first visible item. Windows only. +Set the specified item to be the first visible item. \wxheading{Parameters}