X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..1c0f361be288df133c766e04cc857b3e4682b31a:/docs/latex/wx/treeevt.tex diff --git a/docs/latex/wx/treeevt.tex b/docs/latex/wx/treeevt.tex index 98980ad290..be56016df6 100644 --- a/docs/latex/wx/treeevt.tex +++ b/docs/latex/wx/treeevt.tex @@ -39,7 +39,10 @@ functions that take a wxTreeEvent argument. \twocolitem{{\bf EVT\_TREE\_KEY\_DOWN(id, func)}}{A key has been pressed.} \twocolitem{{\bf EVT\_TREE\_SEL\_CHANGED(id, func)}}{Selection has changed.} \twocolitem{{\bf EVT\_TREE\_SEL\_CHANGING(id, func)}}{Selection is changing. This can be prevented by calling \helpref{Veto()}{wxnotifyeventveto}.} -\end{twocollist}% +\twocolitem{{\bf EVT\_TREE\_KEY\_DOWN(id, func)}}{A key has been pressed.} +\twocolitem{{\bf EVT\_TREE\_ITEM\_GETTOOLTIP(id, func)}}{The opportunity to set the item tooltip +is being given to the application (call wxTreeEvent::SetToolTip). Windows only.} +\end{twocollist} \wxheading{See also} @@ -95,6 +98,13 @@ Returns the position of the mouse pointer if the event is a drag event. \constfunc{bool}{IsEditCancelled}{} -Returns TRUE if the label edit was cancelled. This should be +Returns true if the label edit was cancelled. This should be called from within an EVT\_TREE\_END\_LABEL\_EDIT handler. +\membersection{wxTreeEvent::SetToolTip} + +\func{void}{SetToolTip}{\param{const wxString\&}{ tooltip}} + +Set the tooltip for the item (valid for EVT\_TREE\_ITEM\_GETTOOLTIP events). +Windows only. +