From 2304dc6eaa9808014f213b045088a6d7ae216c01 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 19 Sep 2002 21:49:16 +0000 Subject: [PATCH] mention that multiple selection events are not sent to the virtual list controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/listctrl.tex | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/listctrl.tex b/docs/latex/wx/listctrl.tex index 9aef15d27c..8f076fa117 100644 --- a/docs/latex/wx/listctrl.tex +++ b/docs/latex/wx/listctrl.tex @@ -14,7 +14,12 @@ without consuming much memory. To use virtual list control you must use \helpref{OnGetItemText}{wxlistctrlongetitemtext} (and optionally \helpref{OnGetItemImage}{wxlistctrlongetitemimage} and \helpref{OnGetItemAttr}{wxlistctrlongetitemattr}) to return the information -about the items when the control requests it. +about the items when the control requests it. Virtual list control can be used +as a normal one except that no operations which can take time proportional to +the number of items in the control happen -- this is required to allow having a +practically infinite number of items. For example, in a multiple selection +virtual list control, the selections won't be sent when many items are selected +at once because this could mean iterating over all the items. Using many of wxListCtrl features is shown in the \helpref{corresponding sample}{samplelistctrl}.