]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbox.h
We surely don't need two debugging sections,
[wxWidgets.git] / include / wx / listbox.h
index afe6348038eec94a85bdd781a979ab143dda383b..d06528cd4577a2e3fa925ce808d7620b267897e7 100644 (file)
@@ -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