X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..9f13661f8bce6d5b3dd402d8688de7592957d11e:/src/common/choiccmn.cpp diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index 0e81ac87f4..a4be5ca35c 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 26.07.99 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -38,10 +38,6 @@ // implementation // ============================================================================ -wxChoiceBase::wxChoiceBase() -{ -} - wxChoiceBase::~wxChoiceBase() { // this destructor is required for Darwin @@ -54,12 +50,12 @@ wxChoiceBase::~wxChoiceBase() bool wxChoiceBase::SetStringSelection(const wxString& s) { int sel = FindString(s); - wxCHECK_MSG( sel != -1, FALSE, + wxCHECK_MSG( sel != -1, false, wxT("invalid string in wxChoice::SetStringSelection") ); Select(sel); - return TRUE; + return true; } // ----------------------------------------------------------------------------