-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)