diff --git a/include/wx/choice.h b/include/wx/choice.h index d0ec9403a6..43c3846744 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -38,7 +38,7 @@ class WXDLLEXPORT wxChoiceBase : public wxControlWithItems { public: wxChoiceBase() { } - virtual ~wxChoiceBase(){}; + virtual ~wxChoiceBase(); // all generic methods are in wxControlWithItems diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index 57ec42af30..a4be5ca35c 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -38,6 +38,11 @@ // implementation // ============================================================================ +wxChoiceBase::~wxChoiceBase() +{ + // this destructor is required for Darwin +} + // ---------------------------------------------------------------------------- // selection // ----------------------------------------------------------------------------