X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ba93d23bfc6a5764ff7fcc751d9b6164c23e10e..6aaee6afdcde7c9e677f642303d4988a66cb9dc9:/docs/latex/wx/choice.tex diff --git a/docs/latex/wx/choice.tex b/docs/latex/wx/choice.tex index f810c735a0..ba7a6f9820 100644 --- a/docs/latex/wx/choice.tex +++ b/docs/latex/wx/choice.tex @@ -1,3 +1,14 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Name: treectrl.tex +%% Purpose: wxChoice documentation +%% Author: wxWidgets Team +%% Modified by: +%% Created: +%% RCS-ID: $Id$ +%% Copyright: (c) wxWidgets Team +%% License: wxWindows license +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \section{\class{wxChoice}}\label{wxchoice} A choice item is used to select one of a list of strings. Unlike a @@ -16,9 +27,15 @@ menu of choices. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} -There are no special styles for wxChoice. +\begin{twocollist}\itemsep=0pt +\twocolitem{\windowstyle{wxCB\_SORT}}{Sorts the entries alphabetically.} +\end{twocollist} See also \helpref{window styles overview}{windowstyles}. @@ -113,17 +130,6 @@ Destructor, destroying the choice item. Creates the choice for two-step construction. See \helpref{wxChoice::wxChoice}{wxchoicector}. -\membersection{wxChoice::Delete}\label{wxchoicedelete} - -\func{void}{Delete}{\param{int }{n}} - -Deletes the item with the given index from the control. - -\wxheading{Parameters} - -\docparam{n}{The item to delete.} - - \membersection{wxChoice::GetColumns}\label{wxchoicegetcolumns} \constfunc{int}{GetColumns}{\void} @@ -147,7 +153,7 @@ 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. -\newsince{2.6.2} (before this version +\newsince{2.6.2} (before this version \helpref{GetSelection}{wxcontrolwithitemsgetselection} itself behaved like this).