corrected a few bugs in OnGetItemXXX() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -549,7 +549,7 @@ method:\par
|
|||||||
|
|
||||||
\membersection{wxListCtrl::OnGetItemAttr}\label{wxlistctrlongetitemattr}
|
\membersection{wxListCtrl::OnGetItemAttr}\label{wxlistctrlongetitemattr}
|
||||||
|
|
||||||
\func{virtual wxString}{OnGetItemAttr}{\param{long }{item}}
|
\func{virtual wxListItemAttr *}{OnGetItemAttr}{\param{long }{item}}
|
||||||
|
|
||||||
This function may be overloaded in the derived class for a control with
|
This function may be overloaded in the derived class for a control with
|
||||||
{\tt wxLC\_VIRTUAL} style. It should return the attribute for the
|
{\tt wxLC\_VIRTUAL} style. It should return the attribute for the
|
||||||
@@ -565,11 +565,13 @@ The base class version always returns {\tt NULL}.
|
|||||||
|
|
||||||
\membersection{wxListCtrl::OnGetItemImage}\label{wxlistctrlongetitemimage}
|
\membersection{wxListCtrl::OnGetItemImage}\label{wxlistctrlongetitemimage}
|
||||||
|
|
||||||
\func{virtual wxString}{OnGetItemImage}{\param{long }{item}}
|
\func{virtual int}{OnGetItemImage}{\param{long }{item}}
|
||||||
|
|
||||||
This function may be overloaded in the derived class for a control with
|
This function must be overloaded in the derived class for a control with
|
||||||
{\tt wxLC\_VIRTUAL} style. It should return the index of the items image in the
|
{\tt wxLC\_VIRTUAL} style having an \helpref{image list}{wxlistctrlsetimagelist}
|
||||||
controls image list or $-1$ for no image.
|
(if the control doesn't have an image list, it is not necessary to overload
|
||||||
|
it). It should return the index of the items image in the controls image list
|
||||||
|
or $-1$ for no image.
|
||||||
|
|
||||||
The base class version always returns $-1$.
|
The base class version always returns $-1$.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user