]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/srchcmn.cpp
Add various selection menu items to the sample.
[wxWidgets.git] / src / common / srchcmn.cpp
index 8cdbaf7e0a6ac7f5116cad5875e70b967fe8482f..cff6badf993252fe9969e19a3bd2ffad9b205c3c 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_COMMAND_SEARCHCTRL_CANCEL_BTN, wxCommandEvent);
+wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN, wxCommandEvent);
 
 
 #endif // wxUSE_SEARCHCTRL
 
 
 #endif // wxUSE_SEARCHCTRL