X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8067ee1174ded3b3ab4127ed2e00e586b855a828..c86b476dd540ac302ad023dc864c7c7d4f9ed823:/interface/wx/mstream.h diff --git a/interface/wx/mstream.h b/interface/wx/mstream.h index 889344b929..eec704124a 100644 --- a/interface/wx/mstream.h +++ b/interface/wx/mstream.h @@ -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