]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/listevt.tex
correction for Mac OS compilation
[wxWidgets.git] / docs / latex / wx / listevt.tex
index 1723a34d794cfa28ae83f0c218016de2e6f845a2..867ecda597b24254dea522f41d6f3ffefbccd3c7 100644 (file)
@@ -34,6 +34,7 @@ functions that take a wxListEvent argument.
 \twocolitem{{\bf EVT\_LIST\_KEY\_DOWN(id, func)}}{A key has been pressed.}
 \twocolitem{{\bf EVT\_LIST\_INSERT\_ITEM(id, func)}}{An item has been inserted.}
 \twocolitem{{\bf EVT\_LIST\_COL\_CLICK(id, func)}}{A column ({\bf m\_col}) has been left-clicked.}
+\twocolitem{{\bf EVT\_LIST\_CACHE\_HINT(id, func)}}{Prepare cache for a virtual list control}
 \end{twocollist}%
 
 \wxheading{See also}
@@ -48,45 +49,90 @@ functions that take a wxListEvent argument.
 
 Constructor.
 
-\membersection{wxListEvent::m\_code}
+\membersection{wxListEvent::GetCacheFrom}\label{wxlisteventgetcachefrom}
 
-\member{int}{m\_code}
+\constfunc{long}{GetCacheFrom}{\void}
+
+For {\tt EVT\_LIST\_CACHE\_HINT} event only: return the first item which the
+list control advises us to cache.
+
+\membersection{wxListEvent::GetCacheTo}\label{wxlisteventgetcacheto}
+
+\constfunc{long}{GetCacheTo}{\void}
+
+For {\tt EVT\_LIST\_CACHE\_HINT} event only: return the last item (inclusive)
+which the list control advises us to cache.
+
+\membersection{wxListEvent::GetCode}\label{wxlisteventgetcode}
+
+\constfunc{int}{GetCode}{\void}
 
 Key code if the event is a keypress event.
 
-\membersection{wxListEvent::m\_itemIndex}
+\membersection{wxListEvent::GetIndex}\label{wxlisteventgetindex}
 
-\member{long}{m\_itemIndex}
+\constfunc{long}{GetIndex}{\void}
 
 The item index.
 
-\membersection{wxListEvent::m\_oldItemIndex}
+\membersection{wxListEvent::GetOldIndex}\label{wxlisteventgetoldindex}
 
-\member{long}{m\_oldItemIndex}
+\constfunc{long}{GetOldIndex}{\void}
 
 The old item index.
 
-\membersection{wxListEvent::m\_col}
+\membersection{wxListEvent::GetColumn}\label{wxlisteventgetcolumn}
 
-\member{int}{m\_col}
+\constfunc{int}{GetColumn}{\void}
 
 The column position.
 
-\membersection{wxListEvent::m\_cancelled}
+\membersection{wxListEvent::Cancelled}\label{wxlisteventcancelled}
 
-\member{bool}{m\_cancelled}
+\constfunc{bool}{Cancelled}{\void}
 
 TRUE if this event is an end edit event and the user cancelled the edit.
 
-\membersection{wxListEvent::m\_pointDrag}
+\membersection{wxListEvent::GetPoint}\label{wxlisteventgetpoint}
 
-\member{wxPoint}{m\_pointDrag}
+\constfunc{wxPoint}{GetPoint}{\void}
 
 The position of the mouse pointer if the event is a drag event.
 
-\membersection{wxListEvent::m\_item}
 
-\member{wxListItem}{m\_item}
+\membersection{wxListEvent::GetLabel}\label{wxlisteventgetlabel}
+
+\constfunc{const wxString\&}{GetLabel}{\void}
+
+The label.
+
+\membersection{wxListEvent::GetText}\label{wxlisteventgettext}
+
+\constfunc{const wxString\&}{GetText}{\void}
+
+The text.
+
+\membersection{wxListEvent::GetImage}\label{wxlisteventgetimage}
+
+\constfunc{int}{GetImage}{\void}
+
+The image.
+
+\membersection{wxListEvent::GetData}\label{wxlisteventgetdata}
+
+\constfunc{long}{GetData}{\void}
+
+The data.
+
+\membersection{wxListEvent::GetMask}\label{wxlisteventgetmask}
+
+\constfunc{long}{GetMask}{\void}
+
+The mask.
+
+\membersection{wxListEvent::GetItem}\label{wxlisteventgetitem}
+
+\constfunc{const wxListItem\&}{GetItem}{\void}
 
 An item object, used by some events. See also \helpref{wxListCtrl::SetItem}{wxlistctrlsetitem}.