]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/srchcmn.cpp
don't crash when streaming out a wxString into an std::ostream, just set the failbit...
[wxWidgets.git] / src / common / srchcmn.cpp
index 8cdbaf7e0a6ac7f5116cad5875e70b967fe8482f..3f5aba1c86640e7e43de7ad3a3afa7fc17d922d7 100644 (file)
@@ -33,7 +33,7 @@
 
 // ----------------------------------------------------------------------------
 
-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)