X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83930b2fd2c41cd965926e669115696c1e8eef0d..591087eda46c6d238e4df8338e160df0ccbbc79c:/docs/latex/wx/window.tex diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 25d5cea9c4..019e5b90b1 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -1016,6 +1016,23 @@ handle, such as {\bf HWND} for Windows, {\bf Widget} for Motif, {\bf GtkWidget} \perlnote{This method will return an integer in wxPerl.} +\membersection{wxWindow::GetHelpTextAtPoint}\label{wxwindowgethelptextatpoint} + +\constfunc{virtual wxString}{GetHelpTextAtPoint}{\param{const wxPoint &}{point}, \param{wxHelpEvent::Origin }{origin}} + +Gets the help text to be used as context-sensitive help for this window. This +method should be overridden if the help message depends on the position inside +the window, otherwise \helpref{GetHelpText}{wxwindowgethelptext} can be used. + +\wxheading{Parameters} + +\docparam{point}{Coordinates of the mouse at the moment of help event emission.} + +\docparam{origin}{Help event origin, see also \helpref{wxHelpEvent::GetOrigin}{wxhelpeventgetorigin}.} + +\newsince{2.7.0} + + \membersection{wxWindow::GetHelpText}\label{wxwindowgethelptext} \constfunc{virtual wxString}{GetHelpText}{\void} @@ -1027,7 +1044,7 @@ and not in the window object itself. \wxheading{See also} -\helpref{SetHelpText}{wxwindowsethelptext}, \helpref{wxHelpProvider}{wxhelpprovider} +\helpref{SetHelpText}{wxwindowsethelptext}, \helpref{GetHelpTextAtPoint}{wxwindowgethelptextatpoint}, \helpref{wxHelpProvider}{wxhelpprovider} \membersection{wxWindow::GetId}\label{wxwindowgetid}