X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed93168bf9d23bdc83184039c84d263ed6f87945..50567b69d60faa5a3575a077bb4f98530813c80d:/docs/latex/wx/ttreectl.tex diff --git a/docs/latex/wx/ttreectl.tex b/docs/latex/wx/ttreectl.tex index 43adf1b891..30847cf1d9 100644 --- a/docs/latex/wx/ttreectl.tex +++ b/docs/latex/wx/ttreectl.tex @@ -23,7 +23,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 +47,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 @@ -62,7 +62,7 @@ only thing to remember is that the {\it cookie} passed to \helpref{GetNextChild}{wxtreectrlgetnextchild} should be the same variable (and that nothing should be done with it by the user code). -Among other functionalities of the tree control are: item sorting with +Among other features of the tree control are: item sorting with \helpref{SortChildren}{wxtreectrlsortchildren} which uses the user-defined comparison function \helpref{OnCompareItems}{wxtreectrloncompareitems} (by default the comparison is the alphabetic comparison of tree labels), hit testing @@ -75,5 +75,6 @@ Finally, the tree control has a keyboard interface: the cursor navigation (arrow may be used to change the current selection. and are used to go to the first/last sibling of the current item. '+', '-' and '*' expand, collapse and toggle the current branch. Note, however, that and keys do -nothing by default, but it is custom to associate them with deleting item from -a tree and inserting a new one in it. +nothing by default, but it is usual to associate them with deleting item from +a tree and inserting a new one into it. +