-wxConnectionBase::wxConnectionBase(wxChar *buffer, int size)
- : m_connected(true),
- m_buffer(buffer),
- m_buffersize(size),
- m_deletebufferwhendone(false)
+wxConnectionBase::wxConnectionBase(void *buffer, size_t bytes)
+ : m_buffer((char *)buffer),
+ m_buffersize(bytes),
+ m_deletebufferwhendone(false),
+ m_connected(true)