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:
@@ -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}}
|
||||
|
Reference in New Issue
Block a user