X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8161ba085ff043563123ca2f771a422052235cee..a24d7726e6b5c1b727d97603a3b5e80fa27a9dd2:/docs/latex/wx/listitem.tex?ds=sidebyside diff --git a/docs/latex/wx/listitem.tex b/docs/latex/wx/listitem.tex index 6ff8dc618d..1e9919b042 100644 --- a/docs/latex/wx/listitem.tex +++ b/docs/latex/wx/listitem.tex @@ -47,7 +47,8 @@ Returns the zero-based column; meaningful only in report mode. \constfunc{long}{GetData}{\void} -Returns client data associated with the control. +Returns client data associated with the control. Please note that +client data is associated with the item and not with subitems. \membersection{wxListItem::GetFont}\label{wxlistitemgetfont} @@ -77,12 +78,12 @@ can be any combination of the following values: \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt -\twocolitem{wxLIST\_MASK\_STATE}{The {\bf GetState} is valid.} -\twocolitem{wxLIST\_MASK\_TEXT}{The {\bf GetText} is valid.} -\twocolitem{wxLIST\_MASK\_IMAGE}{The {\bf GetImage} is valid.} -\twocolitem{wxLIST\_MASK\_DATA}{The {\bf GetData} is valid.} -\twocolitem{wxLIST\_MASK\_WIDTH}{The {\bf GetWidth} is valid.} -\twocolitem{wxLIST\_MASK\_FORMAT}{The {\bf GetAlign} is valid.} +\twocolitem{wxLIST\_MASK\_STATE}{{\bf GetState} is valid.} +\twocolitem{wxLIST\_MASK\_TEXT}{{\bf GetText} is valid.} +\twocolitem{wxLIST\_MASK\_IMAGE}{{\bf GetImage} is valid.} +\twocolitem{wxLIST\_MASK\_DATA}{{\bf GetData} is valid.} +\twocolitem{wxLIST\_MASK\_WIDTH}{{\bf GetWidth} is valid.} +\twocolitem{wxLIST\_MASK\_FORMAT}{{\bf GetFormat} is valid.} \end{twocollist} \membersection{wxListItem::GetState}\label{wxlistitemgetstate} @@ -124,7 +125,7 @@ Meaningful only for column headers in report mode. Returns the column width. \func{void}{SetAlign}{\param{wxListColumnFormat }{align}} Sets the alignment for the item. See also -\helpref{wxListItem::SetAlign}{wxlistitemsetalign} +\helpref{wxListItem::GetAlign}{wxlistitemgetalign} \membersection{wxListItem::SetBackgroundColour}\label{wxlistitemsetbackgroundcolour} @@ -144,7 +145,8 @@ Sets the zero-based column. Meaningful only in report mode. \func{void}{SetData}{\param{void* }{data}} -Sets client data for the item. +Sets client data for the item. Please note that +client data is associated with the item and not with subitems. \membersection{wxListItem::SetFont}\label{wxlistitemsetfont} @@ -162,7 +164,7 @@ Sets the zero-based item position. \func{void}{SetImage}{\param{int }{image}} -Returns the zero-based index of the image associated with the item +Sets the zero-based index of the image associated with the item into the image list. \membersection{wxListItem::SetMask}\label{wxlistitemsetmask} @@ -178,7 +180,7 @@ Sets the mask of valid fields. See \helpref{wxListItem::GetMask}{wxlistitemgetma Sets the item state flags (note that the valid state flags are influenced by the value of the state mask, see \helpref{wxListItem::SetStateMask}{wxlistitemsetstatemask}). -See \helpref{wxListItem::GetState}{wxlistitemsetstate} for valid flag +See \helpref{wxListItem::GetState}{wxlistitemgetstate} for valid flag values. \membersection{wxListItem::SetStateMask}\label{wxlistitemsetstatemask}