Added wxTreeCtrl::GetItemParent to deprecate GetParent.
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in that case too. Replaced all lib/sample uses of wxTC::GetParent with GetItemParent. Updated docs to suit. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -505,10 +505,19 @@ Returns an invalid tree item if there are no further siblings.
|
||||
|
||||
Returns the next visible item.
|
||||
|
||||
\membersection{wxTreeCtrl::GetItemParent}\label{wxtreectrlgetitemparent}
|
||||
|
||||
\constfunc{wxTreeItemId}{GetItemParent}{\param{const wxTreeItemId\&}{ item}}
|
||||
|
||||
Returns the item's parent.
|
||||
|
||||
\membersection{wxTreeCtrl::GetParent}\label{wxtreectrlgetparent}
|
||||
|
||||
\constfunc{wxTreeItemId}{GetParent}{\param{const wxTreeItemId\&}{ item}}
|
||||
|
||||
{\bf NOTE:} This function is deprecated and will only work if {\tt WXWIN\_COMPATIBILITY\_2\_2}
|
||||
is defined. Use \helpref{wxTreeCtrl::GetItemParent}{wxtreectrlgetitemparent} instead.
|
||||
|
||||
Returns the item's parent.
|
||||
|
||||
\pythonnote{This method is named {\tt GetItemParent} to avoid a name
|
||||
|
Reference in New Issue
Block a user