Deprecated SetItemImage with 2 image ids
Deprecated _GET_INFO, _SET_INFO list control events git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -808,12 +808,6 @@ The {\bf m\_mask} member contains a bitlist specifying which of the other fields
|
||||
|
||||
The {\bf m\_stateMask} and {\bf m\_state} members take flags from the following:
|
||||
|
||||
The wxListItem object can also contain item-specific colour and font
|
||||
information: for this you need to call one of SetTextColour(),
|
||||
SetBackgroundColour() or SetFont() functions on it passing it the colour/font
|
||||
to use. If the colour/font is not specified, the default list control
|
||||
colour/font is used.
|
||||
|
||||
\twocolwidtha{5cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{wxLIST\_STATE\_DONTCARE}{Don't care what the state is. Win32 only. }
|
||||
@@ -823,6 +817,12 @@ colour/font is used.
|
||||
\twocolitem{wxLIST\_STATE\_CUT}{The item is in the cut state. Win32 only. }
|
||||
\end{twocollist}
|
||||
|
||||
The wxListItem object can also contain item-specific colour and font
|
||||
information: for this you need to call one of SetTextColour(),
|
||||
SetBackgroundColour() or SetFont() functions on it passing it the colour/font
|
||||
to use. If the colour/font is not specified, the default list control
|
||||
colour/font is used.
|
||||
|
||||
\func{long}{SetItem}{\param{long }{index}, \param{int }{col}, \param{const wxString\& }{label}, \param{int }{imageId = -1}}
|
||||
|
||||
Sets a string field at a particular column.
|
||||
@@ -867,17 +867,23 @@ Associates application-defined data with this item.
|
||||
|
||||
\membersection{wxListCtrl::SetItemImage}\label{wxlistctrlsetitemimage}
|
||||
|
||||
\func{bool}{SetItemImage}{\param{long }{item}, \param{int }{image}}
|
||||
|
||||
Sets the image associated with the item. The image is an index into the
|
||||
image list associated with the list control.
|
||||
|
||||
\func{bool}{SetItemImage}{\param{long }{item}, \param{int }{image}, \param{int }{selImage}}
|
||||
|
||||
Sets the unselected and selected images associated with the item. The images are indices into the
|
||||
image list associated with the list control.
|
||||
image list associated with the list control. This form is deprecated: {\it selImage} is not
|
||||
used.
|
||||
|
||||
|
||||
\membersection{wxListCtrl::SetItemPosition}\label{wxlistctrlsetitemposition}
|
||||
|
||||
\func{bool}{SetItemPosition}{\param{long }{item}, \param{const wxPoint\& }{pos}}
|
||||
|
||||
Sets the position of the item, in icon or small icon view.
|
||||
Sets the position of the item, in icon or small icon view. Windows only.
|
||||
|
||||
|
||||
\membersection{wxListCtrl::SetItemState}\label{wxlistctrlsetitemstate}
|
||||
|
@@ -153,7 +153,7 @@ An item object, used by some events. See also \helpref{wxListCtrl::SetItem}{wxli
|
||||
This method only makes sense for \texttt{EVT\_LIST\_END\_LABEL\_EDIT} message
|
||||
and returns \true if it the label editing has been cancelled by the user
|
||||
(\helpref{GetLabel}{wxlisteventgetlabel} returns an empty string in this case
|
||||
but it doesn't allow to distinguish between really cancelling the edit and,
|
||||
admittedly rare, case when the user wants to rename it to an empty string0.
|
||||
but it doesn't allow the application to distinguish between really cancelling the edit and
|
||||
the admittedly rare case when the user wants to rename it to an empty string).
|
||||
|
||||
|
||||
|
@@ -77,12 +77,12 @@ can be any combination of the following values:
|
||||
|
||||
\twocolwidtha{5cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{wxLIST\_MASK\_STATE}{The {\bf GetState} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_TEXT}{The {\bf GetText} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_IMAGE}{The {\bf GetImage} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_DATA}{The {\bf GetData} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_WIDTH}{The {\bf GetWidth} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_FORMAT}{The {\bf GetAlign} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_STATE}{{\bf GetState} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_TEXT}{{\bf GetText} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_IMAGE}{{\bf GetImage} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_DATA}{{\bf GetData} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_WIDTH}{{\bf GetWidth} is valid.}
|
||||
\twocolitem{wxLIST\_MASK\_FORMAT}{{\bf GetFormat} is valid.}
|
||||
\end{twocollist}
|
||||
|
||||
\membersection{wxListItem::GetState}\label{wxlistitemgetstate}
|
||||
@@ -162,7 +162,7 @@ Sets the zero-based item position.
|
||||
|
||||
\func{void}{SetImage}{\param{int }{image}}
|
||||
|
||||
Returns the zero-based index of the image associated with the item
|
||||
Sets the zero-based index of the image associated with the item
|
||||
into the image list.
|
||||
|
||||
\membersection{wxListItem::SetMask}\label{wxlistitemsetmask}
|
||||
|
Reference in New Issue
Block a user