-// ----------------------------------------------------------------------------
-// events
-// ----------------------------------------------------------------------------
-
-void wxChoiceBase::Command(wxCommandEvent &event)
-{
- SetSelection(event.GetInt());
- (void)ProcessEvent(event);
-}
-
-// ----------------------------------------------------------------------------
-// string selection management
-// ----------------------------------------------------------------------------
-
-wxString wxChoiceBase::GetStringSelection() const
-{
- int sel = GetSelection();
- wxString str;
- wxCHECK_MSG( sel != wxNOT_FOUND, str, T("no selection, hence no string") );
-
- str = GetString(sel);
- return str;
-}
-
-bool wxChoiceBase::SetStringSelection(const wxString& sel)