]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
Fixed mem leak in wxColour::Set()
[wxWidgets.git] / src / gtk / combobox.cpp
index e5dd27f1eac368d4c43c9c6770cc5aac16303682..0e16d9ae26ed136c1314a8421dfd51acfc30fd9b 100644 (file)
@@ -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 );