2 \section{\class{wxDataViewItem
}}\label{wxdataviewitem
}
4 wxDataViewItem is a small opaque class that represents an
5 item in a
\helpref{wxDataViewCtrl
}{wxdataviewctrl
} in a
6 persistent way, i.e. indepent of the position of the
7 item in the control or changes to its contents. It must
8 hold a unique ID of type
{\it void*
} in its only field
9 and can be converted to a from it.
11 If the ID is
{\it NULL
} the wxDataViewItem is invalid and
12 \helpref{IsOk
}{wxdataviewitemisok
} will return
{\it false
}
13 which used in many places in the API of wxDataViewCtrl
14 to indicate that e.g. no item was found etc.
16 \wxheading{Derived from
}
20 \wxheading{Include files
}
24 \wxheading{Data structures
}
26 \latexignore{\rtfignore{\wxheading{Members
}}}
29 \membersection{wxDataViewItem::wxDataViewItem
}\label{wxdataviewitemwxdataviewitem
}
31 \func{}{wxDataViewItem
}{\param{void*
}{id = NULL
}}
35 \func{}{wxDataViewItem
}{\param{const wxDataViewItem\&
}{item
}}
38 \membersection{wxDataViewItem::GetID
}\label{wxdataviewitemgetid
}
40 \constfunc{void*
}{GetID
}{\void}
44 \membersection{wxDataViewItem::IsOk
}\label{wxdataviewitemisok
}
46 \constfunc{bool
}{IsOk
}{\void}
48 Returns true if the ID is not
{\it NULL
}.
50 \membersection{wxDataViewItem::void*
}\label{wxdataviewitemvoid
}
52 \constfunc{operator const
}{void*
}{\void}
54 Converts to
{\it void*
}.