Fix mistake, though this assert is unfortunate since now FindString("whatever") will always assert under OS X Cocoa, even when it would find and return the position correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier 2010-01-24 23:28:32 +00:00
parent c7109e1ac3
commit 72247c2f53

View File

@ -173,7 +173,7 @@ void wxComboBox::SetSelection(long from, long to)
int wxComboBox::FindString(const wxString& s, bool bCase) const
{
wxASSERT_MSG( "wxComboBox::FindString() doesn't currently support case "
wxASSERT_MSG(bCase, "wxComboBox::FindString() doesn't currently support case "
"insensitive search in wxOSX/Cocoa");
return GetComboPeer()->FindString(s);