From c118fa5f2035b48f059de0353950bceedc5a10d4 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 6 Mar 2012 13:18:22 +0000 Subject: [PATCH] catching veto AND handled events git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 07655b6c4d..3d79bc7f7c 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -3681,7 +3681,7 @@ wxGrid::DoGridCellDrag(wxMouseEvent& event, m_selectedBlockCorner = coords; // if event is handled by user code, no further processing - if ( SendEvent(wxEVT_GRID_CELL_BEGIN_DRAG, coords, event) == 1 ) + if ( SendEvent(wxEVT_GRID_CELL_BEGIN_DRAG, coords, event) != 0 ) performDefault = false; return performDefault; -- 2.50.0