added wxListCtrl::SetItemPtrData()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-10 01:53:21 +00:00
parent f3a8b1b68e
commit 9fcd0bf7f3
12 changed files with 33 additions and 14 deletions

View File

@@ -943,6 +943,9 @@ from $0$ to {\it count}.
Associates application-defined data with this item.
Notice that this function cannot be used to associate pointers with the control
items, use \helpref{SetItemPtrData}{wxlistctrlsetitemptrdata} instead.
\membersection{wxListCtrl::SetItemFont}\label{wxlistctrlsetitemfont}
@@ -981,6 +984,18 @@ The image is an index into the image list associated with the list control.
Sets the position of the item, in icon or small icon view. Windows only.
\membersection{wxListCtrl::SetItemPtrData}\label{wxlistctrlsetitemptrdata}
\func{bool}{SetItemPtrData}{\param{long }{item}, \param{wxUIntPtr }{data}}
Associates application-defined data with this item. The \arg{data} parameter may
be either an integer or a pointer cast to the \texttt{wxUIntPtr} type which is
guaranteed to be large enough to be able to contain all integer types and
pointers.
\newsince{2.8.4}
\membersection{wxListCtrl::SetItemState}\label{wxlistctrlsetitemstate}
\func{bool}{SetItemState}{\param{long }{item}, \param{long }{state}, \param{long }{stateMask}}