X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3d64157d7ff230e7ab16f6dba290d0d9e0e39f9..8c9f8f91cd62335261ee29762747218f28d129de:/include/wx/generic/treectlg.h?ds=sidebyside diff --git a/include/wx/generic/treectlg.h b/include/wx/generic/treectlg.h index 82dcaa849d..b1046c7c01 100644 --- a/include/wx/generic/treectlg.h +++ b/include/wx/generic/treectlg.h @@ -150,6 +150,9 @@ public: // the item will be shown in bold void SetItemBold(const wxTreeItemId& item, bool bold = true); + // the item will be shown with a drop highlight + void SetItemDropHighlight(const wxTreeItemId& item, bool highlight = true); + // set the item's text colour void SetItemTextColour(const wxTreeItemId& item, const wxColour& col); @@ -358,10 +361,8 @@ public: #if WXWIN_COMPATIBILITY_2_4 // deprecated functions: use Set/GetItemImage directly - int GetItemSelectedImage(const wxTreeItemId& item) const - { return GetItemImage(item, wxTreeItemIcon_Selected); } - void SetItemSelectedImage(const wxTreeItemId& item, int image) - { SetItemImage(item, image, wxTreeItemIcon_Selected); } + wxDEPRECATED( int GetItemSelectedImage(const wxTreeItemId& item) const ); + wxDEPRECATED( void SetItemSelectedImage(const wxTreeItemId& item, int image) ); // use the versions taking wxTreeItemIdValue cookies (note that // GetNextChild() is not inside wxDEPRECATED on purpose, as otherwise we @@ -449,7 +450,7 @@ protected: // incremental search data wxString m_findPrefix; wxTimer *m_findTimer; - + bool m_dropEffectAboveItem; // the common part of all ctors