]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/srchcmn.cpp
Move the wxWebFileProtocolHandler from the IE backend to the common source, add the...
[wxWidgets.git] / src / common / srchcmn.cpp
index 3f5aba1c86640e7e43de7ad3a3afa7fc17d922d7..cff6badf993252fe9969e19a3bd2ffad9b205c3c 100644 (file)
@@ -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