X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58b907f6e1ba4a25a99ce65e044fbd4285905aaf..b46a190c27e74146c9fb14345efb1ebdc425774d:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index e5dd27f1ea..0e16d9ae26 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -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 );