added wxListBox::HitTest() from Ryan (patch 1446207)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-03-09 12:48:52 +00:00
parent 22d29469a0
commit c00fed0ef4
10 changed files with 157 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ All (GUI):
- Implemented wxDisplay::GetFromWindow() for platforms other than MSW.
- UpdateUI handler can now show/hide the window too (Ronald Weiss)
- More than one filter allowed in in wxDocTemplate filter.
- Added wxListBox::HitTest()
wxMSW:

View File

@@ -201,6 +201,25 @@ parameter for wxPython, which is a list of strings.}
\perlnote{In wxPerl there is just an array reference in place of {\tt nItems}
and {\tt items}.}
\membersection{wxListBox::HitTest}\label{wxlistboxhittest}
\constfunc{int}{HitTest}{\param{const wxPoint&}{ point}}
Returns the item located at \arg{point}, or \texttt{wxNOT\_FOUND} if there
is no item located at \arg{point}.
\newsince{2.7.0}. It is currently implemented for wxMSW, wxMac and wxGTK2
ports.
\wxheading{Parameters}
\docparam{point}{Point of item (in client coordinates) to obtain}
\wxheading{Return value}
Item located at \arg{point}, or \texttt{wxNOT\_FOUND} if unimplemented
or the item does not exist.
\membersection{wxListBox::IsSelected}\label{wxlistboxisselected}
\constfunc{bool}{IsSelected}{\param{int}{ n}}