Set the string to search for in wxSearchCtrl events.
It's more convenient to have the string to search for directly in the event object than to retrieve it from wxSearchCtrl itself as it had to be done before. Closes #4665. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,7 +44,10 @@
|
||||
just as you would with wxTextCtrl.
|
||||
@event{EVT_SEARCHCTRL_SEARCH_BTN(id, func)}
|
||||
Respond to a wxEVT_SEARCHCTRL_SEARCH_BTN event, generated when the
|
||||
search button is clicked. Note that this does not initiate a search.
|
||||
search button is clicked. Note that this does not initiate a search on
|
||||
its own, you need to perform the appropriate action in your event
|
||||
handler. You may use @code event.GetString() @endcode to retrieve the
|
||||
string to search for in the event handler code.
|
||||
@event{EVT_SEARCHCTRL_CANCEL_BTN(id, func)}
|
||||
Respond to a wxEVT_SEARCHCTRL_CANCEL_BTN event, generated when the
|
||||
cancel button is clicked.
|
||||
|
Reference in New Issue
Block a user