X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/687706f5e722ac8a39172024f794ae0ffbd190e2..848332140be2d53aea32d0702f4c0e06c149d24b:/src/common/choiccmn.cpp diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index d090aafd74..6a1d9e7cd4 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "choicebase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -43,21 +39,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 // ----------------------------------------------------------------------------