removed multiple duplicate copies (with subtly different behaviour) of SetStringSelection(); left only one of them in wxItemContainer (and another one in wxRadioBoxBase, to be removed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -644,16 +644,6 @@ void wxComboBox::SetSelection( int n )
|
||||
EnableEvents();
|
||||
}
|
||||
|
||||
bool wxComboBox::SetStringSelection( const wxString &string )
|
||||
{
|
||||
wxCHECK_MSG( m_widget != NULL, false, wxT("invalid combobox") );
|
||||
|
||||
int res = FindString( string );
|
||||
if (res == -1) return false;
|
||||
SetSelection( res );
|
||||
return true;
|
||||
}
|
||||
|
||||
wxString wxComboBox::GetValue() const
|
||||
{
|
||||
GtkEntry *entry = GTK_ENTRY( GTK_COMBO(m_widget)->entry );
|
||||
|
Reference in New Issue
Block a user