X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d4b632ba3c0e5e5c43412d2d7a2b485b8fcebf2..758bce950ba9236d0a9edc4c880c3ec73b5173f3:/src/os2/checklst.cpp diff --git a/src/os2/checklst.cpp b/src/os2/checklst.cpp index e53cf20284..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 @@ -260,11 +258,7 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, int nStrings, const wxString choices[], #if wxUSE_VALIDATORS -# if defined(__VISAGECPP__) - long style, const wxValidator* val, -# else long style, const wxValidator& val, -# endif #endif const wxString& name) : wxListBox() @@ -283,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)