X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/989ab1e5a604d3a44635d3ec50b520afdfe58077..cedd7b22f4efca68479ec4bb79a9ce5f80164a3b:/include/wx/os2/treectrl.h diff --git a/include/wx/os2/treectrl.h b/include/wx/os2/treectrl.h index 453829965f..ae1ca33d04 100644 --- a/include/wx/os2/treectrl.h +++ b/include/wx/os2/treectrl.h @@ -506,70 +506,6 @@ public: ,bool bTextOnly = false ) const; - // - // Deprecated - // ---------- - -#if WXWIN_COMPATIBILITY_2_4 - // These methods are deprecated and will be removed in future versions of - // wxWidgets, they're here for compatibility only, don't use them in new - // code (the comments indicate why these methods are now useless and how to - // replace them) - // - - // - // Use Expand, Collapse, CollapseAndReset or Toggle - // - wxDEPRECATED( void ExpandItem( const wxTreeItemId& rItem - ,int nAction - ) ); - - // - // Use AddRoot, PrependItem or AppendItem - // - wxDEPRECATED( wxTreeItemId InsertItem( const wxTreeItemId& pParent - ,const wxString& rsText - ,int nImage = -1 - ,int nSelImage = -1 - ,long lInsertAfter = wxTREE_INSERT_LAST - ) ); - - // - // Use Set/GetImageList and Set/GetStateImageList - // - wxDEPRECATED( wxImageList* GetImageList(int nVal) const ); - wxDEPRECATED( void SetImageList(wxImageList* pImageList, int nVal) ); - - // - // Use Set/GetItemImage directly - // - wxDEPRECATED( int GetItemSelectedImage(const wxTreeItemId& rItem) const ); - wxDEPRECATED( void SetItemSelectedImage(const wxTreeItemId& rItem, int nImage) ); - - // - // For this enumeration function you must pass in a "cookie" parameter - // which is opaque for the application but is necessary for the library - // to make these functions reentrant (i.e. allow more than one - // enumeration on one and the same object simultaneously). Of course, - // the "cookie" passed to GetFirstChild() and GetNextChild() should be - // the same! - // - - // - // Get the first child of this item - // - wxDEPRECATED( wxTreeItemId GetFirstChild( const wxTreeItemId& rItem - ,long& rCookie - ) const ); - - // - // Get the next child - // - wxDEPRECATED( wxTreeItemId GetNextChild( const wxTreeItemId& rItem - ,long& rCookie - ) const ); -#endif // WXWIN_COMPATIBILITY_2_4 - // // Implementation // --------------