+
+ // return a buffer at least this size, reallocating buffer if needed
+ // returns NULL if using an inadequate user buffer - it can't be resized
+ wxChar * GetBufferAtLeast( size_t bytes );
+
+protected:
+ bool m_connected;
+private:
+ wxChar * m_buffer;
+ size_t m_buffersize;
+ bool m_deletebufferwhendone;
+
+ // can't use DECLARE_NO_COPY_CLASS(wxConnectionBase) because we already
+ // have copy ctor but still forbid the default assignment operator
+ wxConnectionBase& operator=(const wxConnectionBase&);