-#if !USE_SHARED_LIBRARY
-IMPLEMENT_CLASS(wxMemoryInputStream, wxInputStream)
-IMPLEMENT_CLASS(wxMemoryOutputStream, wxOutputStream)
-IMPLEMENT_CLASS2(wxMemoryStream, wxInputStream, wxOutputStream)
-#endif
-
-// ----------------------------------------------------------------------------
-// wxMemoryStreamBase
-// ----------------------------------------------------------------------------
-wxMemoryStreamBase::wxMemoryStreamBase()
-{
- m_buffer = NULL;
- m_iolimit = 0;
- m_persistent = FALSE;
- m_length = 0;
-}
-
-wxMemoryStreamBase::~wxMemoryStreamBase()
-{
- if (!m_persistent && m_buffer)
- free(m_buffer);
-}