grid cell window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5881
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int m_batchCount;
int m_cursorMode;
- enum { WXGRID_CURSOR_DEFAULT,
- WXGRID_CURSOR_SELECT_CELL,
+ enum { WXGRID_CURSOR_SELECT_CELL,
WXGRID_CURSOR_RESIZE_ROW,
WXGRID_CURSOR_RESIZE_COL,
WXGRID_CURSOR_SELECT_ROW,
}
}
+ m_cursorMode = WXGRID_CURSOR_SELECT_CELL;
m_dragLastPos = -1;
}
}
}
+ m_cursorMode = WXGRID_CURSOR_SELECT_CELL;
m_dragLastPos = -1;
}
// no default action at the moment
}
}
+
+ // ------------ Moving and no button action
+ //
+ else if ( event.Moving() && !event.IsButton() )
+ {
+ m_cursorMode = WXGRID_CURSOR_SELECT_CELL;
+ }
}
}