fixed GetItemSpacing() inconsistency by deprecating the old function and adding a new, easier to use, overload

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-14 16:06:27 +00:00
parent 4a06b34847
commit 5db8d758b8
5 changed files with 31 additions and 12 deletions

View File

@@ -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}