Use paint handler instead of wxClientDC to draw DnD visual effects within wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -257,7 +257,12 @@ protected:
|
||||
wxCursor m_oldCursor; // cursor is changed while dragging
|
||||
wxGenericTreeItem *m_oldSelection;
|
||||
wxGenericTreeItem *m_underMouse; // for visual effects
|
||||
|
||||
enum { NoEffect, BorderEffect, AboveEffect, BelowEffect } m_dndEffect;
|
||||
wxGenericTreeItem *m_dndEffectItem;
|
||||
|
||||
wxTreeTextCtrl *m_textCtrl;
|
||||
|
||||
|
||||
wxTimer *m_renameTimer;
|
||||
|
||||
|
Reference in New Issue
Block a user