]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix mistake, though this assert is unfortunate since now FindString("whatever") will...
authorKevin Ollivier <kevino@theolliviers.com>
Sun, 24 Jan 2010 23:28:32 +0000 (23:28 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sun, 24 Jan 2010 23:28:32 +0000 (23:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/combobox_osx.cpp

index ce11ad1a53a8258cf04799d8df50c92bcc45018b..856a5b31e9bf72a11336673c150db941841ae910 100644 (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);