#if wxUSE_CHECKLISTBOX && wxUSE_OWNER_DRAWN
-#include "wx/object.h"
-#include "wx/colour.h"
-#include "wx/font.h"
-#include "wx/bitmap.h"
-#include "wx/window.h"
-#include "wx/listbox.h"
-#include "wx/ownerdrw.h"
-#include "wx/settings.h"
-#include "wx/dcmemory.h"
-#include "wx/dcscreen.h"
#include "wx/checklst.h"
-#include "wx/log.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/object.h"
+ #include "wx/log.h"
+ #include "wx/window.h"
+ #include "wx/dcmemory.h"
+ #include "wx/dcscreen.h"
+ #include "wx/settings.h"
+ #include "wx/listbox.h"
+ #include "wx/bitmap.h"
+ #include "wx/colour.h"
+ #include "wx/font.h"
+#endif
+
+#include "wx/ownerdrw.h"
#define INCL_PM
#include <os2.h>
m_aItems.RemoveAt(n);
} // end of wxCheckListBox::Delete
-void wxCheckListBox::DoInsertItems(const wxArrayString& items, unsigned int pos)
+int wxCheckListBox::DoInsertItems(const wxArrayStringsAdapter& items,
+ unsigned int pos,
+ void **clientData,
+ wxClientDataType type)
{
// pos is validated in wxListBox
- wxListBox::DoInsertItems( items, pos );
+ int result = wxListBox::DoInsertItems( items, pos, clientData, type );
unsigned int n = items.GetCount();
for (unsigned int i = 0; i < n; i++)
{
MPFROMP(pNewItem)
);
}
-} // end of wxCheckListBox::InsertItems
+ return result;
+} // end of wxCheckListBox::DoInsertItems
bool wxCheckListBox::SetFont ( const wxFont& rFont )
{