diff --git a/include/wx/event.h b/include/wx/event.h index de8e772d35..c196b72b27 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -213,6 +213,8 @@ private: class WXDLLIMPEXP_BASE wxObjectEventFunctor : public wxEventFunctor { public: + virtual ~wxObjectEventFunctor(); + wxObjectEventFunctor(wxObjectEventFunction method, wxEvtHandler *handler) : m_handler( handler ), m_method( method ) { } diff --git a/src/common/event.cpp b/src/common/event.cpp index 7d269005ba..0e5a62ad3e 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -360,6 +360,14 @@ wxEventFunctor::~wxEventFunctor() { } +// ---------------------------------------------------------------------------- +// wxObjectEventFunctor +// ---------------------------------------------------------------------------- + +wxObjectEventFunctor::~wxObjectEventFunctor() +{ +} + // ---------------------------------------------------------------------------- // wxEvent // ----------------------------------------------------------------------------