X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37f214d588b02079a3ddf64c2e46585ca1657c1b..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/src/os2/checklst.cpp?ds=inline diff --git a/src/os2/checklst.cpp b/src/os2/checklst.cpp index 654dc3a1fc..366f87d7f8 100644 --- a/src/os2/checklst.cpp +++ b/src/os2/checklst.cpp @@ -44,9 +44,7 @@ // implementation // ============================================================================ -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) -#endif // ---------------------------------------------------------------------------- // declaration and implementation of wxCheckListBoxItem class @@ -259,7 +257,9 @@ wxCheckListBox::wxCheckListBox() : wxListBox() wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, int nStrings, const wxString choices[], +#if wxUSE_VALIDATORS long style, const wxValidator& val, +#endif const wxString& name) : wxListBox() { @@ -277,7 +277,7 @@ void wxCheckListBox::Delete(int N) // free memory delete m_aItems[N]; - m_aItems.Remove(N); + m_aItems.RemoveAt(N); } void wxCheckListBox::InsertItems(int nItems, const wxString items[], int pos)