Opened 5 years ago

Closed 5 years ago

#14799 closed defect (fixed)

EVT_SEARCHCTRL_CANCEL_BTN not generated any more

Reported by: TNikolay Owned by:
Priority: high Milestone:
Component: GUI-generic Version: stable-latest
Keywords: wxSearchCtrl, EVT_SEARCHCTRL_CANCEL_BTN Cc:
Blocked By: Blocking:
Patch: yes


wxEVT_SEARCHCTRL_SEARCH_BTN was broken at72581 revision (probably), application doesn't receive EVT_SEARCHCTRL_SEARCH_BTN event even more.

attached path fixed this problem

Attachments (1)

srchtrlgcanselbt.patch download (428 bytes) - added by TNikolay 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by TNikolay

comment:1 Changed 5 years ago by vadz

  • Status changed from new to confirmed
  • Summary changed from EVT_SEARCHCTRL_SEARCH_BTN dosn't work to EVT_SEARCHCTRL_CANCEL_BTN not generated any more

I believe you mean EVT_SEARCHCTRL_CANCEL_BTN, not EVT_SEARCHCTRL_SEARCH_BTN, right? Or am I missing something?

Anyhow, I'll apply the patch soon, thanks.

comment:2 Changed 5 years ago by TNikolay

Yeah, you are right EVT_SEARCHCTRL_CANCEL_BTN. just wrong copy\paste :{ Thanks for patching.

comment:3 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from confirmed to closed

(In [72915]) 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.

Note: See TracTickets for help on using tickets.