X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f7f284d555df50912037296c5d74a2911975bce..d90443b8a2099cf0e8e5fec31571d0ba1c0818a9:/src/common/srchcmn.cpp diff --git a/src/common/srchcmn.cpp b/src/common/srchcmn.cpp index f42771c753..cff6badf99 100644 --- a/src/common/srchcmn.cpp +++ b/src/common/srchcmn.cpp @@ -33,10 +33,10 @@ // ---------------------------------------------------------------------------- -const wxChar wxSearchCtrlNameStr[] = wxT("searchCtrl"); +const char wxSearchCtrlNameStr[] = "searchCtrl"; -DEFINE_EVENT_TYPE(wxEVT_COMMAND_SEARCHCTRL_CANCEL) -DEFINE_EVENT_TYPE(wxEVT_COMMAND_SEARCHCTRL_SEARCH) +wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, wxCommandEvent); +wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN, wxCommandEvent); #endif // wxUSE_SEARCHCTRL