X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba1d7a6cec8d9569ce2e380d4a39ddcd4450c9b5..6496345c33824373fdb8cf7de04a43197fa0341c:/interface/wx/mstream.h diff --git a/interface/wx/mstream.h b/interface/wx/mstream.h index a606dbdb38..eec704124a 100644 --- a/interface/wx/mstream.h +++ b/interface/wx/mstream.h @@ -26,7 +26,7 @@ public: @warning If the buffer is created, it will be destroyed at the destruction of the stream. */ - wxMemoryOutputStream(char* data = NULL, size_t length = 0); + wxMemoryOutputStream(void* data = NULL, size_t length = 0); /** Destructor. @@ -37,7 +37,7 @@ public: Allows you to transfer data from the internal buffer of wxMemoryOutputStream to an external buffer. @a len specifies the size of the buffer. */ - size_t CopyTo(char* buffer, size_t len) const; + size_t CopyTo(void* buffer, size_t len) const; /** Returns the pointer to the stream object used as an internal buffer @@ -66,7 +66,7 @@ public: buffer data of length len. The stream does not take ownership of the buffer, i.e. the buffer will not be deleted in its destructor. */ - wxMemoryInputStream(const char* data, size_t len); + wxMemoryInputStream(const void* data, size_t len); /** Creates a new read-only memory stream, initializing it with the data from