X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f36e602b3f4cccedfa2d8932c288f3dfed7b549e..77c8efc8c37da6d6a5e2e8022d21d1cd7d76371d:/src/common/srchcmn.cpp diff --git a/src/common/srchcmn.cpp b/src/common/srchcmn.cpp index 3f5aba1c86..cff6badf99 100644 --- a/src/common/srchcmn.cpp +++ b/src/common/srchcmn.cpp @@ -35,8 +35,8 @@ 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