X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11e3af6e7eed3c4717608ba2095a688b1fea60e0..fcf56ee4dec6b75312833a4fc0195518379234b6:/interface/wx/srchctrl.h diff --git a/interface/wx/srchctrl.h b/interface/wx/srchctrl.h index eec053b845..efbc917295 100644 --- a/interface/wx/srchctrl.h +++ b/interface/wx/srchctrl.h @@ -3,7 +3,7 @@ // Purpose: interface of wxSearchCtrl // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -39,12 +39,15 @@ capitalized. @endStyleTable - @beginEventTable{wxCommandEvent} + @beginEventEmissionTable{wxCommandEvent} To retrieve actual search queries, use EVT_TEXT and EVT_TEXT_ENTER events, 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.