X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a47d3c193a8358f9be6a9249af28b6cb10eacff..8258c3ddbdd9dcfa2c8ea05c8dee702a096ff7e3:/docs/latex/wx/ttreectl.tex?ds=sidebyside

diff --git a/docs/latex/wx/ttreectl.tex b/docs/latex/wx/ttreectl.tex
index 7c30c800b0..93bc9daf50 100644
--- a/docs/latex/wx/ttreectl.tex
+++ b/docs/latex/wx/ttreectl.tex
@@ -6,7 +6,8 @@ The tree control displays its items in a tree like structure. Each item has its
 own (optional) icon and a label. An item may be either collapsed (meaning that
 its children are not visible) or expanded (meaning that its children are
 shown). Each item in the tree is identified by its {\it itemId} which is of
-opaque data type {\it wxTreeItemId}.
+opaque data type {\it wxTreeItemId}. You can test whether an item is valid
+by calling wxTreeItemId::IsOk.
 
 The items text and image may be retrieved and changed with 
 \helpref{GetItemText}{wxtreectrlgetitemtext}/\helpref{SetItemText}{wxtreectrlsetitemtext} 
@@ -23,7 +24,7 @@ may be retrieved with the corresponding functions:
 \helpref{IsSelected}{wxtreectrlisselected}, 
 \helpref{IsVisible}{wxtreectrlisvisible}, \helpref{IsBold}{wxtreectrlisbold} 
 and \helpref{IsExpanded}{wxtreectrlisexpanded}. Only one item at a time may be
-selected, selecting anopther one (with 
+selected, selecting another one (with 
 \helpref{SelectItem}{wxtreectrlselectitem}) automatically unselects the
 previously selected one.
 
@@ -47,7 +48,7 @@ beginning, only the root item is created (with
 EVT\_TREE\_ITEM\_EXPANDING event is received: then all items lying immediately
 under the item being expanded should be added, but, of course, only when this
 event is received for the first time for this item - otherwise, the items would
-be added twice if the user expands/collapses/reexapnds the branch.
+be added twice if the user expands/collapses/re-expands the branch.
 
 The tree control provides functions for enumerating its items. There are 3
 groups of enumeration functions: for the children of a given item, for the
@@ -75,6 +76,6 @@ Finally, the tree control has a keyboard interface: the cursor navigation (arrow
 may be used to change the current selection. <HOME> and <END> are used to go to
 the first/last sibling of the current item. '+', '-' and '*' expand, collapse
 and toggle the current branch. Note, however, that <DEL> and <INS> keys do
-nothing by default, but it is usual to associate them with deleting item from
+nothing by default, but it is common to associate them with deleting an item from
 a tree and inserting a new one into it.
 
