]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/srchcmn.cpp
make methods available to all ports
[wxWidgets.git] / src / common / srchcmn.cpp
index 8cdbaf7e0a6ac7f5116cad5875e70b967fe8482f..5b47fd8d2053219d4dce681708de4b52e1bd1565 100644 (file)
 
 // ----------------------------------------------------------------------------
 
-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_SEARCHCTRL_CANCEL_BTN, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_SEARCHCTRL_SEARCH_BTN, wxCommandEvent);
 
 
 #endif // wxUSE_SEARCHCTRL