// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "listboxbase.h"
#endif
protected:
// NB: due to wxGTK implementation details, DoInsert() is implemented
// using DoInsertItems() and not the other way round
- void DoInsert(const wxString& item, int pos)
- { InsertItems(1, &item, pos); }
+ virtual int DoInsert(const wxString& item, int pos)
+ { InsertItems(1, &item, pos); return pos; }
// to be implemented in derived classes
virtual void DoInsertItems(const wxArrayString& items, int pos) = 0;
#include "wx/mac/listbox.h"
#elif defined(__WXPM__)
#include "wx/os2/listbox.h"
-#elif defined(__WXSTUBS__)
- #include "wx/stubs/listbox.h"
+#elif defined(__WXCOCOA__)
+ #include "wx/cocoa/listbox.h"
#endif
#endif // wxUSE_LISTBOX