Alternative clang on Windows link fix

Remove WXDLLIMPEXP_BASE from wxObjectEventFunctor declaration: this
class only has inline methods and so doesn't define any functions that
would need to be exported from the DLL.

This reverts commit c0f2f38011.
This commit is contained in:
Vadim Zeitlin
2019-07-21 21:22:55 +02:00
parent c0f2f38011
commit e8a7bae0a7
2 changed files with 1 additions and 11 deletions

View File

@@ -210,11 +210,9 @@ private:
}; };
// A plain method functor for the untyped legacy event types: // A plain method functor for the untyped legacy event types:
class WXDLLIMPEXP_BASE wxObjectEventFunctor : public wxEventFunctor class wxObjectEventFunctor : public wxEventFunctor
{ {
public: public:
virtual ~wxObjectEventFunctor();
wxObjectEventFunctor(wxObjectEventFunction method, wxEvtHandler *handler) wxObjectEventFunctor(wxObjectEventFunction method, wxEvtHandler *handler)
: m_handler( handler ), m_method( method ) : m_handler( handler ), m_method( method )
{ } { }

View File

@@ -360,14 +360,6 @@ wxEventFunctor::~wxEventFunctor()
{ {
} }
// ----------------------------------------------------------------------------
// wxObjectEventFunctor
// ----------------------------------------------------------------------------
wxObjectEventFunctor::~wxObjectEventFunctor()
{
}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxEvent // wxEvent
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------