added WXDLLIMPEXP_BASE for a couple of template classes having only inline functions as VC7 still needs them in DLL build if these classes are used as base classes or members of other DLL-exported classes (replaces first two parts of the patch 1779004)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-09-14 17:04:27 +00:00
parent b7fe22610e
commit 4ec4d8610a
2 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ class WXDLLIMPEXP_FWD_BASE wxCStrData;
// ----------------------------------------------------------------------------
template <typename T>
class wxCharTypeBuffer
class WXDLLIMPEXP_BASE wxCharTypeBuffer
{
public:
typedef T CharType;
@ -150,7 +150,7 @@ private:
bool m_owned;
};
class wxCharBuffer : public wxCharTypeBuffer<char>
class WXDLLIMPEXP_BASE wxCharBuffer : public wxCharTypeBuffer<char>
{
public:
typedef wxCharTypeBuffer<char> wxCharTypeBufferBase;
@ -165,7 +165,7 @@ public:
};
#if wxUSE_WCHAR_T
class wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
class WXDLLIMPEXP_BASE wxWCharBuffer : public wxCharTypeBuffer<wchar_t>
{
public:
typedef wxCharTypeBuffer<wchar_t> wxCharTypeBufferBase;
@ -284,7 +284,7 @@ private:
};
class wxMemoryBuffer
class WXDLLIMPEXP_BASE wxMemoryBuffer
{
public:
// ctor and dtor

View File

@ -2766,7 +2766,7 @@ private:
#endif // !wxUSE_STL_BASED_WXSTRING
template<typename T>
class wxStringTypeBufferBase
class WXDLLIMPEXP_BASE wxStringTypeBufferBase
{
public:
typedef T CharType;
@ -2784,7 +2784,7 @@ protected:
};
template<typename T>
class wxStringTypeBufferLengthBase
class WXDLLIMPEXP_BASE wxStringTypeBufferLengthBase
{
public:
typedef T CharType;