From 26d08cc602bee33b3c28716b6f05feace3b44b7e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 3 Dec 2002 13:33:39 +0000 Subject: [PATCH] Added references to wxTreeItemId::IsOk git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/filename.tex | 2 +- docs/latex/wx/treectrl.tex | 3 ++- docs/latex/wx/ttreectl.tex | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/latex/wx/filename.tex b/docs/latex/wx/filename.tex index 5c85079447..1749fbdcfb 100644 --- a/docs/latex/wx/filename.tex +++ b/docs/latex/wx/filename.tex @@ -89,7 +89,7 @@ on the file name format and the only portable way to answer to this question is to use \helpref{IsAbsolute}{wxfilenameisabsolute} method. To ensure that the filename is absolute you may use \helpref{Normalize}{wxfilenamenormalize}. There is also an inverse function \helpref{MakeRelativeTo}{wxfilenamemakerelativeto} -which undoes what \helpref{Normalize(wxPATH\_NORM\_DOTS}{wxfilenamenormalize} +which undoes what \helpref{Normalize(wxPATH\_NORM\_DOTS)}{wxfilenamenormalize} does. Other functions returning information about the file format provided by this diff --git a/docs/latex/wx/treectrl.tex b/docs/latex/wx/treectrl.tex index 35b6fc2a76..4ded4a8c80 100644 --- a/docs/latex/wx/treectrl.tex +++ b/docs/latex/wx/treectrl.tex @@ -1,7 +1,8 @@ \section{\class{wxTreeCtrl}}\label{wxtreectrl} A tree control presents information as a hierarchy, with items that may be expanded -to show further items. Items in a tree control are referenced by wxTreeItemId handles. +to show further items. Items in a tree control are referenced by wxTreeItemId handles, +which may be tested for validity by calling wxTreeItemId::IsOk. To intercept events from a tree control, use the event table macros described in \helpref{wxTreeEvent}{wxtreeevent}. diff --git a/docs/latex/wx/ttreectl.tex b/docs/latex/wx/ttreectl.tex index 30847cf1d9..4298d96a6b 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}