]> git.saurik.com Git - wxWidgets.git/commit - samples/widgets/searchctrl.cpp
Restore propagation of EVT_SEARCHCTRL_CANCEL_BTN events to the parent.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Nov 2012 23:56:21 +0000 (23:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 6 Nov 2012 23:56:21 +0000 (23:56 +0000)
commit639dbb6dd6fd420845607c2dcac25541da1b58e2
treeb74ad5734417d5d7d2cbf514ba039e9d88d64471
parent51d2b636e8c3d967934f4c192090dfd89cd368f0
Restore propagation of EVT_SEARCHCTRL_CANCEL_BTN events to the parent.

This was broken by r72581, add event.Skip() call to the handler for this event
added there.

Also add a handler for this event to the corresponding page of the widgets
sample to be able to test this.

Closes #14799.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/widgets/searchctrl.cpp
src/generic/srchctlg.cpp