catching veto AND handled events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2012-03-06 13:18:22 +00:00
parent 0cbcb12d8f
commit c118fa5f20

View File

@@ -3681,7 +3681,7 @@ wxGrid::DoGridCellDrag(wxMouseEvent& event,
m_selectedBlockCorner = coords; m_selectedBlockCorner = coords;
// if event is handled by user code, no further processing // 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; performDefault = false;
return performDefault; return performDefault;