]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/listctrl.tex
Removed wxMMedia classes doc from the main wx doc
[wxWidgets.git] / docs / latex / wx / listctrl.tex
index 0e37651989ba138e77f62f5dba8c9e45247e3155..3305ac71c374dca8011e79f3491777becb5c7c9e 100644 (file)
@@ -258,6 +258,9 @@ Returns the specified image list. {\it which} may be one of:
 Gets information about the item. See \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem} for more
 information.
 
+You must call {\it info.SetId()} to se ID of item you're interested in
+before calling this method.
+
 \pythonnote{The wxPython version of this method takes an integer parameter
 for the item ID, and returns the wxListItem object.
 }
@@ -465,7 +468,7 @@ Insert an image/string item.
 
 \pythonnote{In place of a single overloaded method name, wxPython
 implements the following methods:\par
-\indented{2cm}{\begin{twocollist}
+\indented{2cm}{\begin{twocollist}\itemsep=0pt
 \twocolitem{{\bf InsertItem(item)}}{Inserts an item using a wxListItem.}
 \twocolitem{{\bf InsertStringItem(index, label)}}{Inserts a string item.}
 \twocolitem{{\bf InsertImageItem(index, imageIndex)}}{Inserts an image item.}
@@ -521,6 +524,8 @@ wxIMAGE\_LIST\_NORMAL, wxIMAGE\_LIST\_SMALL, wxIMAGE\_LIST\_STATE (the last is u
 
 \func{bool}{SetItem}{\param{wxListItem\& }{info}}
 
+\func{long}{SetItem}{\param{long }{index}, \param{int }{col}, \param{const }{wxString\& label}, \param{int }{imageId = -1}}
+
 Sets information about the item.
 
 wxListItem is a class with the following members:
@@ -582,7 +587,6 @@ string or image at a given location.}
 \end{twocollist}}
 }
 
-
 \membersection{wxListCtrl::SetItemData}\label{wxlistctrlsetitemdata}
 
 \func{bool}{SetItemData}{\param{long }{item}, \param{long }{data}}
@@ -653,8 +657,8 @@ second one and positive value if the first one is greater than the second one
 
 \wxheading{Parameters}
 
-\docparam{item1}{client data associated with the first item ({\bf NOT} the index).
-\docparam{item2}{client data associated with the second item ({\bf NOT} the index).
+\docparam{item1}{client data associated with the first item ({\bf NOT} the index).}
+\docparam{item2}{client data associated with the second item ({\bf NOT} the index).}
 \docparam{data}{the value passed to SortItems() itself.}
 
 Notice that the control may only be sorted on client data associated with the
@@ -663,3 +667,4 @@ you want to be able to sort the items in the control.
 
 Please see the \helpref{listctrl sample}{samplelistctrl} for an example of
 using this function.
+