silence gcc warnings about values not handled in switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5598,23 +5598,26 @@ void wxGrid::ProcessColLabelMouseEvent( wxMouseEvent& event )
|
|||||||
switch ( m_cursorMode )
|
switch ( m_cursorMode )
|
||||||
{
|
{
|
||||||
case WXGRID_CURSOR_RESIZE_COL:
|
case WXGRID_CURSOR_RESIZE_COL:
|
||||||
{
|
|
||||||
DoEndDragResizeCol();
|
DoEndDragResizeCol();
|
||||||
|
|
||||||
// Note: we are ending the event *after* doing
|
// Note: we are ending the event *after* doing
|
||||||
// default processing in this case
|
// default processing in this case
|
||||||
//
|
//
|
||||||
SendEvent( wxEVT_GRID_COL_SIZE, -1, m_dragRowOrCol, event );
|
SendEvent( wxEVT_GRID_COL_SIZE, -1, m_dragRowOrCol, event );
|
||||||
}
|
break;
|
||||||
break;
|
|
||||||
|
|
||||||
case WXGRID_CURSOR_MOVE_COL:
|
case WXGRID_CURSOR_MOVE_COL:
|
||||||
{
|
|
||||||
DoEndDragMoveCol();
|
DoEndDragMoveCol();
|
||||||
|
|
||||||
SendEvent( wxEVT_GRID_COL_MOVE, -1, m_dragRowOrCol, event );
|
SendEvent( wxEVT_GRID_COL_MOVE, -1, m_dragRowOrCol, event );
|
||||||
}
|
break;
|
||||||
break;
|
|
||||||
|
case WXGRID_CURSOR_SELECT_COL:
|
||||||
|
case WXGRID_CURSOR_SELECT_CELL:
|
||||||
|
case WXGRID_CURSOR_RESIZE_ROW:
|
||||||
|
case WXGRID_CURSOR_SELECT_ROW:
|
||||||
|
// nothing to do (?)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, m_colLabelWin);
|
ChangeCursorMode(WXGRID_CURSOR_SELECT_CELL, m_colLabelWin);
|
||||||
|
Reference in New Issue
Block a user