fixed/expanded InsertItems() and Set() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -284,7 +284,7 @@ it.
|
|||||||
|
|
||||||
\membersection{wxListBox::InsertItems}\label{wxlistboxinsertitems}
|
\membersection{wxListBox::InsertItems}\label{wxlistboxinsertitems}
|
||||||
|
|
||||||
\func{void}{InsertItems}{\param{int}{ nItems}, \param{const wxString}{ items}, \param{int}{ pos}}
|
\func{void}{InsertItems}{\param{int}{ nItems}, \param{const wxString}{ *items}, \param{int}{ pos}}
|
||||||
|
|
||||||
Insert the given number of strings before the specified position.
|
Insert the given number of strings before the specified position.
|
||||||
|
|
||||||
@@ -331,9 +331,11 @@ TRUE if the given item is selected, FALSE otherwise.
|
|||||||
|
|
||||||
\membersection{wxListBox::Set}\label{wxlistboxset}
|
\membersection{wxListBox::Set}\label{wxlistboxset}
|
||||||
|
|
||||||
\func{void}{Set}{\param{int}{ n}, \param{const wxString*}{ choices}}
|
\func{void}{Set}{\param{int}{ n}, \param{const wxString*}{ choices}, \param{void}{ **clientData = {\tt NULL}}}
|
||||||
|
|
||||||
Clears the list box and adds the given strings. Not implemented for GTK.
|
\func{void}{Set}{\param{const wxArrayString\&}{ choices}, \param{void}{ **clientData = {\tt NULL}}}
|
||||||
|
|
||||||
|
Clears the list box and adds the given strings to it.
|
||||||
|
|
||||||
\wxheading{Parameters}
|
\wxheading{Parameters}
|
||||||
|
|
||||||
@@ -341,10 +343,12 @@ Clears the list box and adds the given strings. Not implemented for GTK.
|
|||||||
|
|
||||||
\docparam{choices}{An array of strings to set.}
|
\docparam{choices}{An array of strings to set.}
|
||||||
|
|
||||||
|
\docparam{clientData}{Options array of client data pointers}
|
||||||
|
|
||||||
\wxheading{Remarks}
|
\wxheading{Remarks}
|
||||||
|
|
||||||
Deallocate the array from the calling program
|
You may free the array from the calling program after this function has been
|
||||||
after this function has been called.
|
called.
|
||||||
|
|
||||||
\membersection{wxListBox::SetClientData}\label{wxlistboxsetclientdata}
|
\membersection{wxListBox::SetClientData}\label{wxlistboxsetclientdata}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user