X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/687706f5e722ac8a39172024f794ae0ffbd190e2..e443232d2e06140e64a3d888d9542d9d6ef2c20c:/src/common/choiccmn.cpp diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index d090aafd74..50c633894e 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -43,21 +43,6 @@ wxChoiceBase::~wxChoiceBase() // this destructor is required for Darwin } -// ---------------------------------------------------------------------------- -// selection -// ---------------------------------------------------------------------------- - -bool wxChoiceBase::SetStringSelection(const wxString& s) -{ - int sel = FindString(s); - wxCHECK_MSG( sel != -1, false, - wxT("invalid string in wxChoice::SetStringSelection") ); - - Select(sel); - - return true; -} - // ---------------------------------------------------------------------------- // misc // ----------------------------------------------------------------------------