X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/541aa821800536b6e265d415de8c1ed9a304f1c1..c33edc08d6a5f6937624347f25934937164c13a1:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index 8e7fd8dbb1..a18b85c762 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -17,7 +17,7 @@ #include // malloc() and free() -class WXDLLIMPEXP_BASE wxCStrData; +class WXDLLIMPEXP_FWD_BASE wxCStrData; // ---------------------------------------------------------------------------- // Special classes for (wide) character strings: they use malloc/free instead @@ -25,7 +25,7 @@ class WXDLLIMPEXP_BASE wxCStrData; // ---------------------------------------------------------------------------- template -class wxCharTypeBuffer +class WXDLLIMPEXP_BASE wxCharTypeBuffer { public: typedef T CharType; @@ -150,7 +150,9 @@ private: bool m_owned; }; -class wxCharBuffer : public wxCharTypeBuffer +WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE( wxCharTypeBuffer ) + +class WXDLLIMPEXP_BASE wxCharBuffer : public wxCharTypeBuffer { public: typedef wxCharTypeBuffer wxCharTypeBufferBase; @@ -165,7 +167,9 @@ public: }; #if wxUSE_WCHAR_T -class wxWCharBuffer : public wxCharTypeBuffer +WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE( wxCharTypeBuffer ) + +class WXDLLIMPEXP_BASE wxWCharBuffer : public wxCharTypeBuffer { public: typedef wxCharTypeBuffer wxCharTypeBufferBase; @@ -284,7 +288,7 @@ private: }; -class wxMemoryBuffer +class WXDLLIMPEXP_BASE wxMemoryBuffer { public: // ctor and dtor