X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22f3361e1cf25c52a2da8fdfc5cb081809e18fb9..fcc9de54786c9a42d20b6e3409083a34b4399f4b:/include/wx/generic/treectlg.h?ds=inline diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index e24dd825ce..72da30c0f2 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -6,7 +6,7 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) 1997,1998 Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _GENERIC_TREECTRL_H_ @@ -207,9 +207,9 @@ public: #if WXWIN_COMPATIBILITY_2_2 // deprecated: Use GetItemParent instead. wxTreeItemId GetParent(const wxTreeItemId& item) const - { return GetItemParent( item ); } + { return GetItemParent( item ); } - // Expose the base class method hidden by the one above. + // Expose the base class method hidden by the one above. wxWindow *GetParent() const { return wxScrolledWindow::GetParent(); } #endif // WXWIN_COMPATIBILITY_2_2 @@ -376,7 +376,9 @@ protected: wxGenericTreeItem *m_anchor; wxGenericTreeItem *m_current, - *m_key_current; + *m_key_current, + // A hint to select a parent item after deleting a child + *m_select_me; unsigned short m_indent; unsigned short m_spacing; int m_lineHeight;