X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e711d5c093dcc758e3f1670caf845612ea9fa92..ab590906ba1542923101ad4bbda843a57579af19:/include/wx/listbox.h diff --git a/include/wx/listbox.h b/include/wx/listbox.h index afe6348038..d06528cd45 100644 --- a/include/wx/listbox.h +++ b/include/wx/listbox.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "listboxbase.h" #endif @@ -45,9 +45,7 @@ class WXDLLEXPORT wxListBoxBase : public wxControlWithItems public: // all generic methods are in wxControlWithItems, except for the following // ones which are not yet implemented by wxChoice/wxCombobox -#ifdef __DARWIN__ - virtual ~wxListBoxBase() { } -#endif + virtual ~wxListBoxBase(); void Insert(const wxString& item, int pos) { DoInsert(item, pos); } @@ -137,8 +135,6 @@ protected: #include "wx/mac/listbox.h" #elif defined(__WXPM__) #include "wx/os2/listbox.h" -#elif defined(__WXSTUBS__) - #include "wx/stubs/listbox.h" #endif #endif // wxUSE_LISTBOX