From: Vadim Zeitlin Date: Sun, 1 Feb 2009 23:05:55 +0000 (+0000) Subject: remove WXDLLIMPEXP_BASE from template classes to fix linking of code using new events... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/412fcdc105bb302e85a7d3ccf5a877a89efa8d3f remove WXDLLIMPEXP_BASE from template classes to fix linking of code using new events in DLL build using MSVC9 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/event.h b/include/wx/event.h index 5fe2dd3f39..a8288bb155 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -168,7 +168,7 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType(); #if !wxEVENTS_COMPATIBILITY_2_8 template -class WXDLLIMPEXP_BASE wxTypedEventType +class wxTypedEventType { public: typedef Event CorrespondingEvent; @@ -272,7 +272,7 @@ wxConstructEventFunctor(const wxEventType& WXUNUSED(evtType), #if !wxEVENTS_COMPATIBILITY_2_8 template -class WXDLLIMPEXP_BASE wxEventFunctorFunction : public wxEventFunctor +class wxEventFunctorFunction : public wxEventFunctor { public: wxEventFunctorFunction(void (*handler)(typename EventType::CorrespondingEvent &)) @@ -302,7 +302,7 @@ private: template -class WXDLLIMPEXP_BASE wxEventFunctorMethod : public wxEventFunctor +class wxEventFunctorMethod : public wxEventFunctor { public: wxEventFunctorMethod( void ( Class::*method )( typename EventType::CorrespondingEvent & ), @@ -365,7 +365,7 @@ private: template -class WXDLLIMPEXP_BASE wxEventFunctorAdapter : public wxEventFunctor +class wxEventFunctorAdapter : public wxEventFunctor { public: wxEventFunctorAdapter( Functor &functor )