added wxCURSOR_DEFAULT to others (not GTK only), hide the current selection in
the tree ctrl during dnd git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -126,6 +126,10 @@ enum wxStockCursor
|
|||||||
wxCURSOR_MAX
|
wxCURSOR_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef __WXGTK__
|
||||||
|
#define wxCURSOR_DEFAULT wxCURSOR_ARROW
|
||||||
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// macros
|
// macros
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@@ -403,6 +403,8 @@ protected:
|
|||||||
wxPoint m_dragStart;
|
wxPoint m_dragStart;
|
||||||
bool m_isDragging; // true between BEGIN/END drag events
|
bool m_isDragging; // true between BEGIN/END drag events
|
||||||
wxGenericTreeItem *m_dropTarget;
|
wxGenericTreeItem *m_dropTarget;
|
||||||
|
wxCursor m_oldCursor; // cursor is changed while dragging
|
||||||
|
wxGenericTreeItem *m_oldSelection;
|
||||||
|
|
||||||
wxTimer *m_renameTimer;
|
wxTimer *m_renameTimer;
|
||||||
bool m_renameAccept;
|
bool m_renameAccept;
|
||||||
|
Reference in New Issue
Block a user