Simplify checks for event vetoing in generic wxDataViewCtrl code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 15:11:25 +0000 (15:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 15:11:25 +0000 (15:11 +0000)
commitfd48fe892c6be87e2f12b316829b2bf39ef023ea
treefc5e0938c254d0fcd992e61cd8d3f4222b70f5ce
parentd1a92cf322cbc66a5af2e3985b95cffa4deec62e
Simplify checks for event vetoing in generic wxDataViewCtrl code.

Don't return the whole event object from SendExpanderEvent() just to check if
it wasn't vetoed, simply return a boolean value indicating if this was the
case from this function itself.

This makes it both more efficient and easier to use.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/datavgen.cpp