diff --git a/include/wx/event.h b/include/wx/event.h index c196b72b27..c13e7336b1 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -210,11 +210,9 @@ private: }; // A plain method functor for the untyped legacy event types: -class WXDLLIMPEXP_BASE wxObjectEventFunctor : public wxEventFunctor +class 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 0e5a62ad3e..7d269005ba 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -360,14 +360,6 @@ wxEventFunctor::~wxEventFunctor() { } -// ---------------------------------------------------------------------------- -// wxObjectEventFunctor -// ---------------------------------------------------------------------------- - -wxObjectEventFunctor::~wxObjectEventFunctor() -{ -} - // ---------------------------------------------------------------------------- // wxEvent // ----------------------------------------------------------------------------