]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/choice.tex
added wxMessageQueue class for inter-thread communications
[wxWidgets.git] / docs / latex / wx / choice.tex
index f810c735a0801ebadb591fec524443fa05f4729f..ba7a6f982028ecadca632551cff58b2e7dde354f 100644 (file)
@@ -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.
 
 <wx/choice.h>
 
+\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).