]> git.saurik.com Git - wxWidgets.git/commit
Fix completely wrong logic for veto checking in generic wxDVC.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 15:11:22 +0000 (15:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Aug 2011 15:11:22 +0000 (15:11 +0000)
commitd1a92cf322cbc66a5af2e3985b95cffa4deec62e
tree77f63f5382b181597ac4b30c5c11e3524ab465a9
parentdd9ec5961f0ad1594d48205b3902130f3a5c85a3
Fix completely wrong logic for veto checking in generic wxDVC.

The code sending the event must check whether the event was vetoed or not, not
whether it was skipped or not. This is the minimal change resulting in correct
behaviour even if an event handler does skip the event.

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