From: Vadim Zeitlin Date: Fri, 16 Nov 2007 23:55:57 +0000 (+0000) Subject: don't capture the mouse when just moving it in the grid (tentative replacement for... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/521ff07eb1a2991606dd35145a8ed237171555d5 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 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 4a09bd55fd..d19edeb3f6 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -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