Ticket #4665 (closed defect: fixed)
wxSearchCtrl events don't relay the string value
| Reported by: | ivansmirnov | Owned by: | vadz |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | GUI-generic | Version: | 2.9-svn |
| Keywords: | wxSearchCtrl simple | Cc: | ivansmirnov |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
I have a wxSearchCtrl that has all of these events hooked up:
EVT_TEXT_ENTER
EVT_TEXT
EVT_SEARCHCTRL_SEARCH_BTN
When my event handler fires, event.GetEventId() works correctly, but event.GetString() always returns an empty.
I would just assume that the wxCommandEvent being passed to my handlers would have the value from the wxSearchCtrl 's text box in it. That's wxTextCtrl handles these events.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

