// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "listboxbase.h"
#endif
public:
// all generic methods are in wxControlWithItems, except for the following
// ones which are not yet implemented by wxChoice/wxCombobox
-#ifdef __WXMAC_X__
- virtual ~wxListBoxBase() {} // Added min for Mac X
-#endif
+ virtual ~wxListBoxBase();
void Insert(const wxString& item, int pos)
{ DoInsert(item, pos); }
#include "wx/motif/listbox.h"
#elif defined(__WXGTK__)
#include "wx/gtk/listbox.h"
-#elif defined(__WXQT__)
- #include "wx/qt/listbox.h"
#elif defined(__WXMAC__)
#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