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
This commit is contained in:
Vadim Zeitlin
2009-02-01 23:05:55 +00:00
parent b3f76d404f
commit 412fcdc105

View File

@@ -168,7 +168,7 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType();
#if !wxEVENTS_COMPATIBILITY_2_8 #if !wxEVENTS_COMPATIBILITY_2_8
template <typename Event> template <typename Event>
class WXDLLIMPEXP_BASE wxTypedEventType class wxTypedEventType
{ {
public: public:
typedef Event CorrespondingEvent; typedef Event CorrespondingEvent;
@@ -272,7 +272,7 @@ wxConstructEventFunctor(const wxEventType& WXUNUSED(evtType),
#if !wxEVENTS_COMPATIBILITY_2_8 #if !wxEVENTS_COMPATIBILITY_2_8
template <typename EventType> template <typename EventType>
class WXDLLIMPEXP_BASE wxEventFunctorFunction : public wxEventFunctor class wxEventFunctorFunction : public wxEventFunctor
{ {
public: public:
wxEventFunctorFunction(void (*handler)(typename EventType::CorrespondingEvent &)) wxEventFunctorFunction(void (*handler)(typename EventType::CorrespondingEvent &))
@@ -302,7 +302,7 @@ private:
template <typename EventType, typename Class, typename Derived> template <typename EventType, typename Class, typename Derived>
class WXDLLIMPEXP_BASE wxEventFunctorMethod : public wxEventFunctor class wxEventFunctorMethod : public wxEventFunctor
{ {
public: public:
wxEventFunctorMethod( void ( Class::*method )( typename EventType::CorrespondingEvent & ), wxEventFunctorMethod( void ( Class::*method )( typename EventType::CorrespondingEvent & ),
@@ -365,7 +365,7 @@ private:
template <typename EventType, typename Functor> template <typename EventType, typename Functor>
class WXDLLIMPEXP_BASE wxEventFunctorAdapter : public wxEventFunctor class wxEventFunctorAdapter : public wxEventFunctor
{ {
public: public:
wxEventFunctorAdapter( Functor &functor ) wxEventFunctorAdapter( Functor &functor )