]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/srchcmn.cpp
Improve horizontal scrolling in wxRibbonControl.
[wxWidgets.git] / src / common / srchcmn.cpp
index f42771c753f746638c3f0edf151296246ffe5ca2..5b47fd8d2053219d4dce681708de4b52e1bd1565 100644 (file)
 
 // ----------------------------------------------------------------------------
 
-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