X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c8a980fc412792e64256724e02e9d387ee38e21..1ec46a5b35233f3c69c5b73e4b0b36f44c650633:/include/wx/listbox.h diff --git a/include/wx/listbox.h b/include/wx/listbox.h index 92c7bf7c08..ce7fa14079 100644 --- a/include/wx/listbox.h +++ b/include/wx/listbox.h @@ -45,6 +45,9 @@ 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 __WXMAC_X__ + virtual ~wxListBoxBase() {} // Added min for Mac X +#endif void Insert(const wxString& item, int pos) { DoInsert(item, pos); }