]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mstream.cpp
interchanged w and h in wxSplitterWindow::OnSashPositionChange (now
[wxWidgets.git] / src / common / mstream.cpp
index ceec4b05bc3074705aa8249f5d47c449bab0404d..35e384bade7a58e8c2bd39878faf28d28469107d 100644 (file)
@@ -30,7 +30,7 @@
 wxMemoryInputStream::wxMemoryInputStream(const char *data, size_t len)
   : wxInputStream()
 {
-  m_i_streambuf->SetBufferIO((char *)data, data+len);
+  m_i_streambuf->SetBufferIO((char*) data, (char*) (data+len));
   m_i_streambuf->Fixed(TRUE);
 }