@library{wxcore}
@category{ctrl}
- @appearance{listctrl.png}
+ <!-- @appearance{listctrl.png} -->
@see @ref overview_wxlistctrloverview "wxListCtrl overview", wxListView,
wxListBox, wxTreeCtrl, wxImageList, wxListEvent, wxListItem
bool SetItemColumnImage(long item, long column, int image);
/**
- This method can only be used with virtual list controls. It is used to indicate
- to the control the number of items it contains. After calling it, the main
- program should be ready to handle calls to various item callbacks (such as
- wxListCtrl::OnGetItemText) for all items in the range
- from 0 to @e count.
+ This method can only be used with virtual list controls.
+
+ It is used to indicate to the control the number of items it contains.
+ After calling it, the main program should be ready to handle calls to
+ various item callbacks (such as wxListCtrl::OnGetItemText) for all
+ items in the range from 0 to @a count.
+
+ Notice that the control is not necessarily redrawn after this call as
+ it may be undesirable if an item which is not visible on the screen
+ anyhow was added to or removed from a control displaying many items, if
+ you do need to refresh the display you can just call Refresh() manually.
*/
void SetItemCount(long count);
@library{wxcore}
@category{ctrl}
- @appearance{listview.png}
+ <!-- @appearance{listview.png} -->
@see wxListView::SetColumnImage
*/
Together with GetNextSelected() it can be
used to iterate over all selected items in the control.
- @returns The first selected item, if any, -1 otherwise.
+ @return The first selected item, if any, -1 otherwise.
*/
long GetFirstSelected() const;
Used together with GetFirstSelected() to
iterate over all selected items in the control.
- @returns Returns the next selected item or -1 if there are no more of
+ @return Returns the next selected item or -1 if there are no more of
them.
*/
long GetNextSelected(long item) const;