From 943d28e4248833380181f2573ed4f574386c09e9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Feb 2000 14:35:44 +0000 Subject: [PATCH] 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 --- include/wx/gdicmn.h | 4 ++++ include/wx/generic/treectrl.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 5923c48fbf..f78f14eb95 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -126,6 +126,10 @@ enum wxStockCursor wxCURSOR_MAX }; +#ifndef __WXGTK__ + #define wxCURSOR_DEFAULT wxCURSOR_ARROW +#endif + // --------------------------------------------------------------------------- // macros // --------------------------------------------------------------------------- diff --git a/include/wx/generic/treectrl.h b/include/wx/generic/treectrl.h index 0ba451513c..7d1dd7e39d 100644 --- a/include/wx/generic/treectrl.h +++ b/include/wx/generic/treectrl.h @@ -403,6 +403,8 @@ protected: wxPoint m_dragStart; bool m_isDragging; // true between BEGIN/END drag events wxGenericTreeItem *m_dropTarget; + wxCursor m_oldCursor; // cursor is changed while dragging + wxGenericTreeItem *m_oldSelection; wxTimer *m_renameTimer; bool m_renameAccept; -- 2.45.2