]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/choiccmn.cpp
Warning fix.
[wxWidgets.git] / src / common / choiccmn.cpp
index d090aafd74983c17f998dd4f2dd0ef1cdc4accb0..50c633894e9a6f670aa8ff959d791ad77e1fac7e 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------