X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3051a44a73502c2b03d1618d0a8e94274ee67e16..2521c1ba6fb62fc01ab87a1346499baa19342fe9:/interface/wx/srchctrl.h diff --git a/interface/wx/srchctrl.h b/interface/wx/srchctrl.h index 29b9294c41..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 ///////////////////////////////////////////////////////////////////////////// /** @@ -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.