don't capture the mouse when just moving it in the grid (tentative replacement for the patch 1779923)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-11-16 23:55:57 +00:00
parent b7b00ae172
commit 521ff07eb1

View File

@ -6298,7 +6298,7 @@ void wxGrid::ProcessGridCellMouseEvent( wxMouseEvent& event )
if ( m_cursorMode == WXGRID_CURSOR_SELECT_CELL )
{
if ( CanDragRowSize() && CanDragGridSize() )
ChangeCursorMode(WXGRID_CURSOR_RESIZE_ROW);
ChangeCursorMode(WXGRID_CURSOR_RESIZE_ROW, NULL, false);
}
}
else if ( dragCol >= 0 )
@ -6308,7 +6308,7 @@ void wxGrid::ProcessGridCellMouseEvent( wxMouseEvent& event )
if ( m_cursorMode == WXGRID_CURSOR_SELECT_CELL )
{
if ( CanDragColSize() && CanDragGridSize() )
ChangeCursorMode(WXGRID_CURSOR_RESIZE_COL);
ChangeCursorMode(WXGRID_CURSOR_RESIZE_COL, NULL, false);
}
}
else // Neither on a row or col edge