added wxTreeEvent::GetKeyEvent() to allow to retrieve the key event flags from EVT_TREE_KEY_DOWN event

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-09-24 16:39:49 +00:00
parent 82c9f85ce5
commit b09bda689c
7 changed files with 41 additions and 50 deletions

View File

@@ -48,12 +48,32 @@ functions that take a wxTreeEvent argument.
Constructor.
\membersection{wxTreeEvent::GetCode}
\constfunc{int}{GetCode}{}
Returns the key code if the event was is a key event. Use
\helpref{GetKeyEvent}{wxtreeeventgetkeyevent} to get the values of the
modifier keys for this event (i.e. Shift or Ctrl).
\membersection{wxTreeEvent::GetItem}
\constfunc{wxTreeItemId}{GetItem}{}
Returns he item (valid for all events).
\membersection{wxTreeEvent::GetKeyEvent}\label{wxtreeeventgetkeyevent}
\constfunc{const wxKeyEvent\&}{GetKeyEvent}{}
Returns the key event for {\tt EVT\_TREE\_KEY\_DOWN} events.
\membersection{wxTreeEvent::GetLabel}
\constfunc{const wxString\&}{GetLabel}{}
Returns the label if the event was a begin or end edit label event.
\membersection{wxTreeEvent::GetOldItem}
\constfunc{wxTreeItemId}{GetOldItem}{}
@@ -66,15 +86,3 @@ Returns the old item index (valid for EVT\_TREE\_ITEM\_CHANGING and CHANGED even
Returns the position of the mouse pointer if the event is a drag event.
\membersection{wxTreeEvent::GetCode}
\constfunc{int}{GetCode}{}
The key code if the event was is a key event.
\membersection{wxTreeEvent::GetLabel}
\constfunc{const wxString\&}{GetLabel}{}
Returns the label if the event was a begin or end edit label event.