don't capture the mouse when just moving it in the grid (replaces patch 1779923) [backport of r50010 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6246,7 +6246,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 )
|
||||
@@ -6256,7 +6256,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
|
||||
|
Reference in New Issue
Block a user