Old API clearly deprecated.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-01-05 19:25:02 +00:00
parent e32d4b8f07
commit 1729813a8d
10 changed files with 97 additions and 55 deletions

View File

@@ -224,10 +224,9 @@ public:
#if WXWIN_COMPATIBILITY_2_2
// deprecated: Use GetItemParent instead.
wxTreeItemId GetParent(const wxTreeItemId& item) const
{ return GetItemParent( item ); }
wxDEPRECATED( wxTreeItemId GetParent(const wxTreeItemId& item) const);
// Expose the base class method hidden by the one above.
// Expose the base class method hidden by the one above. Not deprecatable.
wxWindow *GetParent() const { return wxControl::GetParent(); }
#endif // WXWIN_COMPATIBILITY_2_2