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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user