if the drop effect (a line) should be drawn
above or below the item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31289
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void AssignStateImageList(wxImageList *imageList);
virtual void AssignButtonsImageList(wxImageList *imageList);
+ virtual void SetDropEffectAboveItem( bool above = false ) { m_dropEffectAboveItem = above; }
+ virtual bool GetDropEffectAboveItem() const { return m_dropEffectAboveItem; }
+
// Functions to work with tree ctrl items.
// accessors
// incremental search data
wxString m_findPrefix;
wxTimer *m_findTimer;
+
+ bool m_dropEffectAboveItem;
// the common part of all ctors
void Init();
m_findTimer = NULL;
+ m_dropEffectAboveItem = false;
+
m_lastOnSame = false;
#ifdef __WXMAC_CARBON__
{
// draw a line under the drop target because the item will be
// dropped there
- DrawLine(item, true /* below */);
+ DrawLine(item, !m_dropEffectAboveItem );
}
SetCursor(wxCURSOR_BULLSEYE);