X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db4e73c6748ccd18a868970ab2038415aa4ca4b2..3cb99894576612e347480d43c5f2e2550b6151cf:/docs/latex/wx/listctrl.tex diff --git a/docs/latex/wx/listctrl.tex b/docs/latex/wx/listctrl.tex index c1d13c0c87..03cd4fd808 100644 --- a/docs/latex/wx/listctrl.tex +++ b/docs/latex/wx/listctrl.tex @@ -369,13 +369,15 @@ ID and code and returns the wxRect.} \perlnote{In wxPerl this method takes only the {\bf item} parameter and returns a Wx::Rect ( or undef ).} + \membersection{wxListCtrl::GetItemSpacing}\label{wxlistctrlgetitemspacing} -\constfunc{int}{GetItemSpacing}{\param{bool }{isSmall}} +\constfunc{wxSize}{GetItemSpacing}{\void} + +Retrieves the spacing between icons in pixels: horizontal spacing is returned +as \texttt{x} component of the \helpref{wxSize}{wxsize} object and the vertical +spacing as its \texttt{y} component. -Retrieves the spacing between icons in pixels. -If {\it small} is true, gets the spacing for the small icon -view, otherwise the large icon view. \membersection{wxListCtrl::GetItemState}\label{wxlistctrlgetitemstate} @@ -463,6 +465,19 @@ Gets the text colour of the list control. Gets the index of the topmost visible item when in list or report view. + +\membersection{wxRect}{wxListCtrl::GetViewRect}\label{wxlistctrlgetviewrect} + +\constfunc{wxRect}{GetViewRect}{\void} + +Returns the rectangle taken by all items in the control. In other words, if the +controls client size were equal to the size of this rectangle, no scrollbars +would be needed and no free space would be left. + +Note that this function only works in the icon and small icon views, not in +list or report views (this is a limitation of the native Win32 control). + + \membersection{wxListCtrl::HitTest}\label{wxlistctrlhittest} \func{long}{HitTest}{\param{const wxPoint\& }{point}, \param{int\& }{flags}}