///////////////////////////////////////////////////////////////////////////////
-// Name: checklst.cpp
+// Name: src/motif/checklst.cpp
// Purpose: implementation of wxCheckListBox class
// Author: Julian Smart
// Modified by:
bool retVal = wxListBox::Create(parent, id, pos, size, n, choices,
style, validator, name);
return retVal;
-}
+}
bool wxCheckListBox::Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos,
bool retVal = wxListBox::Create(parent, id, pos, size, choices,
style, validator, name);
return retVal;
-}
+}
// check items
// -----------
return wxListBox::DoAppend( Prefix(false) + item );
}
-int wxCheckListBox::FindString(const wxString& s) const
+int wxCheckListBox::FindString(const wxString& s, bool bCase) const
{
- int n1 = wxListBox::FindString(Prefix(false) + s);
- int n2 = wxListBox::FindString(Prefix(true) + s);
+ int n1 = wxListBox::FindString(Prefix(false) + s, bCase);
+ int n2 = wxListBox::FindString(Prefix(true) + s, bCase);
int min = wxMin(n1, n2), max = wxMax(n1, n2);
// why this works: