X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f7f284d555df50912037296c5d74a2911975bce..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/src/common/srchcmn.cpp?ds=sidebyside diff --git a/src/common/srchcmn.cpp b/src/common/srchcmn.cpp index f42771c753..1e524b5394 100644 --- a/src/common/srchcmn.cpp +++ b/src/common/srchcmn.cpp @@ -4,7 +4,6 @@ // Author: Robin Dunn // Modified by: // Created: 19-Dec-2006 -// RCS-ID: $Id$ // Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -33,10 +32,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_SEARCHCTRL_CANCEL_BTN, wxCommandEvent); +wxDEFINE_EVENT(wxEVT_SEARCHCTRL_SEARCH_BTN, wxCommandEvent); #endif // wxUSE_SEARCHCTRL