From: Vadim Zeitlin Date: Mon, 21 Feb 2000 14:35:44 +0000 (+0000) Subject: added wxCURSOR_DEFAULT to others (not GTK only), hide the current selection in X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/943d28e4248833380181f2573ed4f574386c09e9?hp=8dd4f53663d62aba88bf9c65e292fe25a6bb96aa 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 --- 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;