+ m_currentCursor = m_sashCursorNS;
+ }
+ }
+ else
+ {
+ SetCursor(wxNullCursor);
+ m_currentCursor = NULL;
+ }
+ }
+ else if ( event.Dragging() &&
+ ((m_dragMode == wxSASH_DRAG_DRAGGING) ||
+ (m_dragMode == wxSASH_DRAG_LEFT_DOWN)) )
+ {
+ if ( (m_draggingEdge == wxSASH_LEFT) || (m_draggingEdge == wxSASH_RIGHT) )
+ {
+ if (m_currentCursor != m_sashCursorWE)
+ {
+ SetCursor(*m_sashCursorWE);
+ }
+ m_currentCursor = m_sashCursorWE;
+ }
+ else
+ {
+ if (m_currentCursor != m_sashCursorNS)
+ {
+ SetCursor(*m_sashCursorNS);
+ }
+ m_currentCursor = m_sashCursorNS;