X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c60122bf37a65f07f517e14a98ce988a3eae8305..dbe0872fc80f7fc9ac37235ab1f8ba8224b0bfa5:/src/common/srchcmn.cpp diff --git a/src/common/srchcmn.cpp b/src/common/srchcmn.cpp index 8cdbaf7e0a..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_BTN) -DEFINE_EVENT_TYPE(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN) +wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, wxCommandEvent); +wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN, wxCommandEvent); #endif // wxUSE_SEARCHCTRL