Keep FindString in sync with wxControlWithItems base class.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-29 13:11:40 +00:00
parent 344ff08345
commit 9e6aca686c
2 changed files with 6 additions and 6 deletions

View File

@@ -438,9 +438,9 @@ void wxVListBoxComboPopup::Delete( unsigned int item )
wxVListBox::SetItemCount( wxVListBox::GetItemCount()-1 );
}
int wxVListBoxComboPopup::FindString(const wxString& s) const
int wxVListBoxComboPopup::FindString(const wxString& s, bool bCase) const
{
return m_strings.Index(s);
return m_strings.Index(s, bCase);
}
unsigned int wxVListBoxComboPopup::GetCount() const
@@ -710,10 +710,10 @@ void wxOwnerDrawnComboBox::SetString(unsigned int n, const wxString& s)
m_popupInterface->SetString(n,s);
}
int wxOwnerDrawnComboBox::FindString(const wxString& s) const
int wxOwnerDrawnComboBox::FindString(const wxString& s, bool bCase) const
{
wxASSERT_MSG( m_popupInterface, wxT("no popup interface") );
return m_popupInterface->FindString(s);
return m_popupInterface->FindString(s, bCase);
}
void wxOwnerDrawnComboBox::Select(int n)